You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
181 B

echo ""
while true
printf "\033[1A" # move cursor one line up
printf "\033[K"
echo (math (cat /sys/class/power_supply/BAT0/power_now) / 1000000)"w"
sleep 2

Proudly self-hosted by Cole Deck. Fast loading powered by Turbo.