Mike Blumenkrantz
19a2d9cbb7
workaround for unknown battery states
...
SVN revision: 48990
2010-05-19 00:01:07 +00:00
Mike Blumenkrantz
fb6a6462c9
udev: recalc last full charge on update in case battery loses maxlife between module restarts
...
all: do not display time if full && have power
SVN revision: 48985
2010-05-18 20:15:11 +00:00
Mike Blumenkrantz
f7f417298b
udev mode enabled in battery module (--enable-device-udev) with polling time supported. udev times are extremely accurate AT THE TIME THAT THEY POLL.
...
I have added what I call "fuzzy mode", which (in udev mode only) averages the past 10 polling times to give a somewhat more readable measurement.
bugs: none that I know of?
todo: make fuzzy mode average the previous 10 times without resetting except on state change, fix "fuzzy mode" checkbox to only enable when udev is selected
SVN revision: 48973
2010-05-18 10:39:30 +00:00
Mike Blumenkrantz
bafe1c825f
more udev battery progress, seems like a good stopping point for tonight.
...
still no functionality changes.
SVN revision: 48943
2010-05-17 08:57:47 +00:00
Mike Blumenkrantz
e65da68f57
split battery module device backend into separate files to make it more manageable. main.h now has more function protos. dummy conditional added to configure for later use with makefile source file selection.
...
still no functionality change
SVN revision: 48940
2010-05-17 07:17:59 +00:00