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/04/25 07:55]
127.0.0.1 external edit
educare:upower [2018/11/30 13:49] (current)
profpro
Line 2: Line 2:
   * <​code>​upower -e</​code>​   * <​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_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: 2018/11/30 13:49
  • by profpro