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