Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PSA: If you have a thinkpad, the lenovo settings app lets you control this too. In lenovo vantage, go to Device > My Device Settings > Battery settings > Battery Charge Threshold.


Except that's a fixed threshold you have to set manually. This tracks the thermal and charging profile of the battery, learns it's characteristics and adjusts the threshold dynamically.


Which has a huge impact on battery health. Good and bad battery management explains a non trivial difference between high and low quality LiPo battery products.


The Dell XPS 13 also offers an interface in the BIOS that lets you set a charge limit, hours not to charge the laptop, and a bunch of other great controls.

The only big issue is that they don't expose it through a friendly UI within Windows 10. It's nonsense that I need to go to the BIOS to tweak these settings.


What's really nice about that approach is that I run linux on mine and it all still works perfectly!


There's an application named something like Dell Command Center (maybe Dell Power Manager on windows?) that comes preinstalled with the default xps win10. Or you can get it yourself from the dell website. It exposes all of the bios settings.

There's also a DCC package for Linux which can do the same thing. I made a thin Python wrapper which would read a number and set that to the maximum battery charge limit (e.g. $ battery.py 85). Unfortunately I got rid of the xps so I don't have the script, but it was very simple. Hard part was figuring out what the cmdline arguments to the DCC executable were.


Honestly it’s great that it’s in the bios because I run Mac OS on mine and it still works.


For Linux users, there's TLP.

https://linrunner.de/en/tlp/tlp.html


For the Redhat family You don't really need TLP, tuned[1] is installed by default and it's pretty well integrated with the system (no need to mess with SE Linux)

1: https://github.com/redhat-performance/tuned


Many laptop manufacturers seem to be doing this already. For ASUS laptops, there is a Windows store app that lets you control the setting:

https://www.microsoft.com/store/apps/9NKCLN5X4RR9


This feature is what I need for all battery gadgets like smartphones, MacBooks, and earbuds, etc..




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

Search: