7 lines
107 B
Text
7 lines
107 B
Text
|
#!/usr/bin/env fish
|
||
|
|
||
|
while true
|
||
|
echo (date +%s)' '(batteries-combined-wattage) >> ~/.battlog
|
||
|
sleep 5
|
||
|
end
|