Commit Graph

9 Commits

Author SHA1 Message Date
Alastair Poole 6b70114c6d battery/batman: Various Improvements.
This adds support for multiple batteries on FreeBSD in line with
Linux and OpenBSD. Also display the vendor and model where
applicable. There are also fixes specific to the sysctl interface.
Fixes a potential crash and let's us have 100 batman gadgets if
wanted.
2019-11-30 20:46:09 +00:00
Mike Blumenkrantz b5e75eb264 formatting
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04:00
Stephen 'Okra' Houston 5370793399 Sysinfo Gadget: More thread vs object lifetime work: Make threads no longer dependent on the main loop objects and vice versa. 2017-07-15 21:32:38 -05:00
Stephen 'Okra' Houston 9e7b78ffab Gadgets: Make sure to avoid conflicts with functions and globals. 2017-07-12 16:03:06 -05:00
Al 'netstar' Poole 4e1d079aa8 Batman: Add multi-battery support for bsd based distros.
Differential was D4670
2017-03-13 14:59:39 -05:00
Al Poole 55a7d4feed Fixes issues w/battery and batman living together
Summary:
The problems were that both sysctl implementations defined public accessable fields named bat.

The static definition moves into the file scopes.

The E_FREE calls are fixing a use after free.

Reviewers: zmike!, bu5hm4n

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4629
2017-01-29 12:47:15 +01:00
Al 'netstar' Poole 2f218a1694 Enlightenment - BSD - Fix typos in battery sysctl float compares. 2017-01-27 19:08:14 -06:00
Al 'netstar' Poole 82af16c32b Enlightenment - BSD - Cleanup sysctl code for batteries. 2017-01-27 18:28:19 -06:00
Stephen 'Okra' Houston b51b591171 Enlightenment: Sysinfo gadget supporting files 2017-01-06 16:16:51 -06:00