Replies: 4 comments 6 replies
-
There are a few problems with this. First is that this is only useful to users with batteries, i.e. mostly laptops. While they are more than common, it still means this development wouldn't matter for most desktop users. Second, and perhaps most important, each manufacturer has a different way to implement this and many of those approaches require elevated permissions. This effectively means a matrix of vendors to support and then maintain (because vendors change this functionality all the time). Some vendors also only allow the values for charge limits to be set in the BIOS, meaning that any software will have limitations regardless. Until there is some sort of universal standard that most vendors choose to apply, this probably isn't conceivable. Your best bet if you want to implement this is to find the documentation for your vendor (if available) and then applying those settings locally if it is supported. This is what I have done for many machines, both past and present. Depending on the vendor, the charge limit might be configurable from the BIOS, a software tool they provide, the command-line, etc. Hopefully, there is an option that works for you. |
Beta Was this translation helpful? Give feedback.
-
I agree with @rcalixte, it is a great idea to extend the life of laptop batteries, unfortunately only Thinkpad batteries are supported in software as far as I know, and you need tlp and the correct kernel use that function in the first place without it causing kernel panics. |
Beta Was this translation helpful? Give feedback.
-
Would it help if your computer could send a notification with beep once your battery drops below 20% or loads above 80% ? What exactly would you expect to happen? |
Beta Was this translation helpful? Give feedback.
-
I've created a simple program in python that does exactly what you're asking. You can check it on my repository |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was thinking having the options in the battery settings to set a max charge other than 100% would be useful
Beta Was this translation helpful? Give feedback.
All reactions