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

7 lines
107 B
Plaintext
Raw Normal View History

2023-07-07 16:33:59 -05:00
#!/usr/bin/env fish
while true
echo (date +%s)' '(batteries-combined-wattage) >> ~/.battlog
sleep 5
end