Hacker News new | past | comments | ask | show | jobs | submit login

Wrote a small script to easily put my Thinkpad battery to storage mode (50-70% SOC) and back to full charge: https://gist.github.com/cmavr8/204132a008d4ebabce94

Also one (lame) for bat stats on linux: https://gist.github.com/cmavr8/bdf591d8dc66290ae87a




They're not well tested but seem to work. Let me know if you have improvement suggestions that are easy to do.

Chris




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: