Lurker News
Curious to know if anyone has written programs for their own, regular, & personal use. And if so what they are? E.g. A colleague of mine tracks all of his homes energy use through a custom program which disaggregates the energy consumption per device and outputs a report to a tablet.

Comments (651) 385 threads

Show all comments

Showing thread 67 of 385

Fergusonb1 reply#
I created a program that allows me to control the max charge level of my laptop battery on linux, and persists the change through reboot. Written in rust, and I use it several times per week.

I designed it for my system, but it should work on any linux system with a battery, kernel version 5.4+, and systemd.

asdff1 reply#
What do you use this for?
Jtsummers#
Keeping your battery charged at 100% for extended periods can reduce the overall life. Apple recently(?) switched to charging phones and laptops to 80% and delaying the remaining 20% until it was expected to be needed (like for the phone, charging overnight completes before the alarm goes off, the laptop will finish charging at the end of the workday before I move from my desk to my living room). I don't know what Windows does, and Linux is too large a target to make any universal statement about how it might treat charging and batteries.