batlog icon indicating copy to clipboard operation
batlog copied to clipboard

Add linux script

Open giodamelio opened this issue 10 years ago • 2 comments

This is super awesome, I am totally going to do this too. I'm on Linux, so here is a script with similar output.

giodamelio avatar Jul 28 '14 00:07 giodamelio

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

gayprogrammer avatar Aug 07 '14 04:08 gayprogrammer

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?

giodamelio avatar Aug 07 '14 05:08 giodamelio