-
Notifications
You must be signed in to change notification settings - Fork 2
/
todo.txt
26 lines (22 loc) · 964 Bytes
/
todo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
- on power output
- support for upower-only (and not systemd) systems
-> "NotifySleep" / "Sleeping" signals?
- test on multiple systems and distributions
- add easy-to-parse output? (shell? json? both?)
- display "Capacity"? (decrease with age)
https://upower.freedesktop.org/docs/Device.html#Device:Online
Target output:
On battery since XXX [monotonic time] (from XXX% ? it's battery specific, move on BAT0 line?)
+ XXX suspended (XXX sleep/resume)
+ XXX halted (XXX stop/start)
Line power unplugged XXX (XXX ago)
BAT0: XXX% [+ other infos of the same line/time]
On line power since XXX (XXX)[simple wall time]
BAT0: XXX% [+ other infos of the same line/time]
charging since XXX [monotonic] from XXX%
+ XXX suspended (XXX sleep/resume)
+ XXX halted (XXX stop/start)
BAT1: XXX% [+ other infos of the same line/time]
charged in XXX from XXX% [monotonic too?]
+ XXX suspended (XXX sleep/resume)
+ XXX halted (XXX stop/start)