- - copes with batteries which are not full, charging or discharging
- (eg, if the system is on a/c but battery charging is suppressed)
- - some debugging output
-
+ - Copes with batteries which are not full, charging or discharging
+ (eg, if the system is on a/c but battery charging is suppressed).
+ - Shows red when time remaining is less than 5 minutes (configurable)
+ rather than trying to use "alarm" value from /sys/class/power_supply
+ (which is not very predictable or reliable).
+ - Option -debug produces some debugging output.
+ - In the code, rename pix_... variables to be named after the meaning
+ rather than the default colour.
+
+ * Fix the type of a callback function passed to scandir, to expect
+ struct dirent**'s rather than void*'s.
+ * Add -Wno-pointer-sign to gcc warning options.