This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/bin/batmon

6 lines
107 B
Fish
Executable file

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