Changed battery ID to empty
This commit is contained in:
parent
4f1e602f30
commit
d596f64b64
@ -31,7 +31,7 @@
|
||||
|
||||
# Change this variable to your batteries identification e.g. BAT0
|
||||
|
||||
battery="BAT0"
|
||||
battery=""
|
||||
charge=$(cat /sys/class/power_supply/$battery/charge_now)
|
||||
discharge=$(cat /sys/class/power_supply/$battery/current_now)
|
||||
hours=$(echo "scale=2; $charge / $discharge" | bc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user