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
educare:upower [2018/11/30 13:49]
profpro
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>