This commit is contained in:
Joey Hess 2015-02-04 15:53:03 -04:00
parent 9a93de3d36
commit 41cd98c869

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-02-04T19:48:10Z"
content="""
I agree this would be nice. However, how to detect if it's on battery?
Debian has a `on_ac_power` command which is rather complicated; 88 lines of
code that deal with APM, PMU (powerpc), and two different kernel interfaces
for ACPI (new sysfs and old /proc/acpi).
Then there's OSX, Windows, Android..
I'm going to move this from bugs to todo.
"""]]