aboutsummaryrefslogtreecommitdiff
path: root/doc/todo/__91__FR__93___No_consistency_check_while_on_battery-only/comment_1_b557db02c3719152d392fa454c9c5ce5._comment
blob: 99de27120f36831ad3c3ecf8a73e9ea1c1a7a7f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.
"""]]