User Tools

Site Tools


educare:upower

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
educare:upower [2018/04/25 07:55]
127.0.0.1 external edit
educare:upower [2020/06/08 22:20] (current)
Line 1: Line 1:
 +=====upower=====     
 +  * <code>upower -e</code> 
 +  * <code>upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"</code> 
 +  * <code>upower -i /org/freedesktop/UPower/devices/battery_BAT1| grep -E "percentage"|sed 's/    percentage:          \(..\)%/\1/g'</code>
educare/upower.txt · Last modified: 2020/06/08 22:20 (external edit)