batlog
batlog copied to clipboard
Add linux script
This is super awesome, I am totally going to do this too. I'm on Linux, so here is a script with similar output.
I would like a Linux script too, but I don't have upower
. I have acpi
.
But I think a portable Linux solution is something like cat /sys/class/power_supply/BAT0/energy_now
Hmm, thats probably true, but thats more work for the same information. I would add an options to choose, but I would rather keep it to a minimum since it runs so often. Maybe it should get the command to run as an argument, then you can just set it when you setup the cron?