diff options
author | Richard Hughes <richard@hughsie.com> | 2010-12-27 19:22:11 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2011-01-04 09:30:22 +0000 |
commit | 2af7a6e091bb62faff9cdda5bb7e3fb5dcc8d15a (patch) | |
tree | d17c70c4d39ad30a93b739bebe050182c841440c /src/up-daemon.h | |
parent | 2dcde5a1c8e86d8cc09a0fe9c1eda1a08efdaee9 (diff) | |
download | upower-2af7a6e091bb62faff9cdda5bb7e3fb5dcc8d15a.tar.gz |
Support the power_now sysfs attribute to get time remaining on new kernels
The kernel has removed the insanity of providing current_now in either
(and unspecified) units of uVh or uWh and instead provides power_now
for the power rate value.
Related commits:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b137b9942a07843c64a934cfdb7d43155e507e13
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=7faa144a518c456e2057918f030f50100144ccc6
Thanks to Florian Eitel for the initial patch.
Diffstat (limited to 'src/up-daemon.h')
0 files changed, 0 insertions, 0 deletions