Update cronForBattery.txt

Render the script generic
Simplify notification computation
Merge pull request #1 from ardumont/master

Some minor improvments