Bug 487494 - Suggestion: Add optional warning about high battery charge to tell user when to unplug the laptop
Summary: Suggestion: Add optional warning about high battery charge to tell user when ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 17:38 UTC by enderpirate98
Modified: 2024-06-18 13:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description enderpirate98 2024-05-24 17:38:09 UTC
It is common knowledge that if you want the best battery health you shouldn't charge it higher than 80% and you shouldn't let it drop below 20%. We already have the 20% warning that can be configured by the user but what about a duplicate but for when to unplug the device at 80% that is configurable? I hope this could be easy enough to implement in Plasma 6.1 or 6.2.

This is my first time using this system so please forgive me if I did something wrong.
Thanks!
Comment 1 Nate Graham 2024-06-14 18:25:18 UTC
Hmm, I think this would be ridiculously annoying, and we'd drive people crazy. I don't think we can do it, sorry. And if you did do this, then the battery would simply start discharging immediately, putting more stress on it by making it cycle more compared to letting it sit in a charged state.

If your laptop supports charge thresholds, then you can *and should* use that to make it automatically stop charging at 80%. Absent that, I don't see a viable path forward.
Comment 2 ratijas 2024-06-17 06:59:15 UTC
The only similar thing I know about is a "smart plug" class of charging sockets, which communicate with your device either via Bluetooth or wire charging protocol to toggle the power supply on or off at predetermined charging levels. I agree with Nate that doing that manually would be insane.
Comment 3 enderpirate98 2024-06-17 22:27:26 UTC
Hear me out:

It would be disabled by default and it would meant to be for power users, unfortunately most Laptops don't have the hardware limit feature that you are talking about and I would love for it to be implemented in software.

This video is my evidence for my claim and I do hope that it gets added in as a turned off by default feature.

https://www.youtube.com/watch?v=i1dBzObDsrs
(Relevant info from start to 1:21)

(Leaving the Battery plugged in for too long can stress the battery cells whether it is above 80% or it is charging at 100% for an extended period of time, (same thing with under 20% but that is addressed) all that I ask is for an off by default notification that tells me when my battery has reached the percentage that I have chosen so that I can remember to unplug my battery and make it last longer over time)

Thanks for hearing me once more and if you still don't see the point in adding it and you don't add it then I will forgive you and move on, after all Kde Plasma is still a wonderful DE and I will use it for the foreseeable future unless someone else implements this feature.

Again Thank You for your time and keep doing great work!
-enderpirate98
Comment 4 ratijas 2024-06-18 07:46:43 UTC
I hear you, and I can totally get your reasoning. We just don't think that manual unplugging is a reasonable and feasible approach. And if your battery controller is dogshit like mine in ASUS ROG G752VT, the battery will die pretty fast anyway. In fact, after the first battery replacement I was so conscious about its lifespan that I tried to unplug and re-plug the charger every two hours while it lasted, for almost two months! And I even sketched and ordered parts to build a Bluetooth powered relay socket. But guess what?  It didn't make much difference, not to warrant such a hustle.

If you really want the notifications, you could write a script to check the charge level via `upower -i /org/freedesktop/UPower/devices/battery_BAT0` or a raw D-Bus query, and wire it up to `notify-send(1)`