Limiting battery charging to some percentage
#1
Some conversation in IRC reminded me that I have been limiting my battery charging (on Android) to 68-70% for some time now, ever since I did some research that this probably extends battery life.

My question here is not to debate the merits of this (plenty discussions of that elsewhere) but rather, how to implement that on Debian (Mobian)?  The guy I was chatting with in IRC rattled off some stuff, but I did not catch nor understand most of it.  And they were not specific directions anyway (rather some generalities).

If no one knows offhand, I will eventually research it and post back what I find.

Maybe eventually I make some little app to handle the settings (see link in sig about making Phosh app in 10 min).  No promises.   Wink
  Reply
#2
/sys/class/power_supply/axp20x-battery/voltage_max_design

https://github.com/dreemurrs-embedded/danctnix-tweaks
  Reply
#3
Thanks for the tip!

Why do I feel like that is some hardware parameter you are supposed to set, depending on the actual battery specifications?

And if that's true, in other words there is no direct way to do what I want, so I will have to fool around with out of (actual) spec values for battery charging.

Or maybe I am just misunderstanding. I guess I need to read up on kernel docs in this area, in order to better understand what is going on...

I did have a look around in that subtree of the file system, interesting stuff in there... I knew something like that probably did exist!
  Reply
#4
(07-18-2021, 05:53 PM)TRS-80 Wrote: Some conversation in IRC reminded me that I have been limiting my battery charging (on Android) to 68-70% for some time now, ever since I did some research that this probably extends battery life.

My question here is not to debate the merits of this (plenty discussions of that elsewhere) but rather, how to implement that on Debian (Mobian)?  The guy I was chatting with in IRC rattled off some stuff, but I did not catch nor understand most of it.  And they were not specific directions anyway (rather some generalities).

If no one knows offhand, I will eventually research it and post back what I find.

Maybe eventually I make some little app to handle the settings (see link in sig about making Phosh app in 10 min).  No promises.   Wink

I would be curious what megous (spelling?) would have to say ?

Unfortunately if you ask 100 people, you will quite likely get 100 different answers.

There must have been some research put into this for the Pine phone, and matching it up to use an existing Samsung battery.

Being operated by software one must realize that when the read-out says 100%   that means 100% of what value the software writer has written.

That could be 60%   or  120%  of what the battery manufacturer recommends. 

For most phone users, you know to charge it when it says 10%  or it is ready to take off the charger when it reads 100%.
      LINUX = CHOICES
         **BCnAZ**
               Idea
   Donate to $upport
your favorite OS Team
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Increasing max voltage to use a bigger battery SocialNetworkingWasAMistake 4 745 06-09-2021, 09:59 AM
Last Post: wibble
Bug Wake up from charging problem j4n3z 11 1,980 02-25-2021, 03:53 PM
Last Post: j4n3z
  Possible fix for lousy standby battery life? bitnick 5 1,661 02-04-2021, 04:05 PM
Last Post: dcinoz
  Manjaro convergence edition (3GB) charging/power issue Saliency 1 930 11-24-2020, 11:04 AM
Last Post: Saliency
  Tweak for charging through USB3 ? cafe 2 1,145 11-13-2020, 05:22 AM
Last Post: cafe
Sad battery usage HLing 3 1,896 08-29-2020, 06:04 AM
Last Post: jed
  SMS after dead battery antiX-Dave 4 2,474 06-05-2020, 08:11 PM
Last Post: antiX-Dave

Forum Jump:


Users browsing this thread: 1 Guest(s)