5 bin_dir
="$(dirname $(realpath $0))"
7 .
"$bin_dir/khatus_x4_lib_common_sensor.sh"
10 upower
--show-info /org
/freedesktop
/UPower
/devices
/DisplayDevice |
awk '
11 /percentage:/ {print "battery_percentage", int($2)}
12 /state:/ {print "battery_state" , $2}
This page took 0.066415 seconds and 4 git commands to generate.