We have moved to a new Sailfish OS Forum. Please start new discussions there.

Charger control app

Tracked by Jolla (In progress)

asked 2019-10-31 11:02:58 +0200

Malakay gravatar image

updated 2019-10-31 11:50:58 +0200

I found on Storeman app called Charger Control, which is able to turn on or off usb charging. I really would welcome some similar app, but with some more settings.

If I connect usb charger when I go to sleep, after an hour phone charges until 100% and stops charging. battery discharges itself to 98% and charger charges again to 100%. It is uselessly lost one cycle from battery life. And this happens few times through the night.

So, my idea is, if there could be some app to tell the phone to start charging again at certain percentage of battery charge. I set for example 85%. In one hour is charged to 100% and stops charging. And according set percentage it will start again at 85% - it wont charge again during the night, so it won´t waste battery life uselessly. I think that cellphone´s battery won´t discharge itself below 95%, so every morning you have almost fully charged cellphone and saving battery´s life at once :)

edit retag flag offensive close delete


and could have setting even for low-limit :) so it could save battery life. If you set that charge should be between 50-85%, it will do it :)

Malakay ( 2019-10-31 11:11:50 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-10-31 12:03:23 +0200

spiiroin gravatar image

Just fyi: There is an internal ticket for making battery full hysteresis user configurable in devices where it is possible.

edit flag offensive delete publish link more


great, is it possible on xperia x?

Malakay ( 2019-10-31 12:33:16 +0200 )edit

answered 2019-10-31 15:52:21 +0200

olf gravatar image

Great to hear that this feature may become integrated in SailfishOS.

Until then, one may use Battery notifier 2 by @Schturman, which does exactly what above question asks for (and more).
While Battery notifier 2 is working fine on my Jolla 1, it does not seem to work reliably on my Xperia X, but I (and obviously also nobody else) never found the time to properly test and report this at OpenRepos. Hence @Malakay, feel free to do that, as without addressing this in an issue report this won't be resolved. But maybe it runs fine on your Xperia X, then please report that here, that would be relevant to know for me.

edit flag offensive delete publish link more



On Xperia X not working, tried before posting here. It is working only on Jolla 1 and maybe aquafish.

Malakay ( 2019-10-31 16:50:57 +0200 )edit

On my old Jolla 1 I also used it a lot, howver I'm not sure how helpful that is for the battery, as your phone oscilates between upper and lower bounds all night. It would be great to have the option to charge to the upper limit, terminate charging and still drive the phone through the USB power supply, just as it is done when the battery is at 100%

jollajo ( 2019-10-31 18:13:28 +0200 )edit

schturman has no xperia, so cant fix it

pawel ( 2019-10-31 21:56:29 +0200 )edit

... without a comprehensive description (by someone else) and analysis of what goes wrong on the Xperia X (and probably newer devices, too).

olf ( 2019-10-31 23:58:14 +0200 )edit

jollajo: My thought was something else - if we assume that the way from 0% to 100% is one cycle, so 10% is 1/10 of cycle. Problem is that battery has behavior like this - if it is discharged, it is quite easy to charge it to 60 or 70%, but from this point it needs more current, so battery products more heat in this range. When you connect it to the charger and then you go to sleep, battery is fully charged maybe in an hour, when it reaches 100%. The phone stops charging until percentage is below 100% (98 for example). Then starts to charge again and again battery uselessly heats up. Everyone knows that heat is destroyer of batteries. So if you set some "border" of starting charging, you can prevent this. If you set for example 85%, phone will charge to 100% and then if it is still connected to the charger, next charging will start at 85%, but I think that battery cannot discharge itself to 85% through night. So the magic is, that battery normally charges until 100%, but charger wont be pushing more juice through the rest of the night. So you maybe not saving cycles, but you are saving battery´s condition and will work for you for more time - for example instead of 2 years will work 3. And in the morning you will disconnect phone with propably 95-100% charged (I dont think that battery can discharge itself from 100% to 85% through the night)

When I was testing SFOS for the first time on Nexus 4, I bought brand new original battery and Qi wireless charger, so I got used to put it on wireless charger and not using usb for the year maybe. After a year of everyday wireless charging (when phone was quite hot after removing it from Qi charger) battery capacity went down by +- 1/3. When battery was new, it could last 3 days. A year after it could last absolutely max 2 days, more or less 1,5day practically. So it is nice example that heat slowly damages battery.

Malakay ( 2019-11-01 08:25:52 +0200 )edit
Login/Signup to Answer

Question tools



Asked: 2019-10-31 11:02:58 +0200

Seen: 438 times

Last updated: Oct 31 '19