Saves laptop battery by disconnecting charger power at 90, reconnecting at 40.
This is for OSX.
require npm miio
npm install -g miio
crontab -e
*/1 * * * * PATH=/usr/bin:/usr/local/bin/ 40-90-battery.py >> /tmp/4090.log
Saves laptop battery by disconnecting charger power at 90, reconnecting at 40.
Saves laptop battery by disconnecting charger power at 90, reconnecting at 40.
This is for OSX.
require npm miio
npm install -g miio
crontab -e
*/1 * * * * PATH=/usr/bin:/usr/local/bin/ 40-90-battery.py >> /tmp/4090.log
Saves laptop battery by disconnecting charger power at 90, reconnecting at 40.