Related
Older types of rechargable batteries exhibited a 'memory effect' which made it neccessary to completely charge/discharge the battery when using to prevent degradation of the capacity. Modern Lithium-Ion batteries like in the Nexus S do not show this problem and thus it is not necessary to use the battery in complete (dis)charge cycles. In fact on the contrary, it is commonly accepted that both very low and very high charge states accelerate the degradation of the battery capacity (that is why you should store Li-Ion batteries at around 40% charge).
While a low charge state can be simply avoided by charging the device more often, the battery in the Nexus S by default is charged to around 95% capacity and I could not find any app or tweak to stop the charging at a lower capacity. Thus the only way was to use the manual override and pull the cable which is annoying since one had to monitor the charge state.
So I implemented a simple tweak I called Battery Life eXtender (BLX) which can be used to set a limit for the capacity to which the battery will be charged by passing a value between 0 and 101 to 'charging_limit' in '/sys/class/misc/batterylifeextender' (101 by default).
Changes to the source code: http://www.pastie.org/2516542
BUGFIX:
The battery status is set to 'full' once the user defined charging limit is reached.
Bug fix: http://www.pastie.org/2534319
BUGFIX #2:
The charging limit is set to 96 by default which will mimic the behaviour of the stock kernel. Also, the maximum value accepted by 'charging_limit' is set to 96.
Bug fix: http://www.pastie.org/2560599
BUGFIX #3:
1. Made BLX compatible with the 100% charging 'fix'.
2. If the charging limit is set to the maximum charging limit, charging will not be stopped until the interrupt signal is received from the MAX8998 chip.
Bugfix: http://www.pastie.org/2751140
No further patches will be published here. I have set up a git repo for all my tweaks. Each mod has its own branch to keep the tweaks cleanly separated and one can simply pull the latest patches from the corresponding branch.
https://github.com/Ezekeel/GLaDOS-nexus-s/tree/blx
I do not accept donations and since I reached my 50GB limit of free space on SpiderOak, thanks to all of you kind people who got an account using my referral link, I could not ask for more.
Instead if you really want to donate your hard earned money to someone who deserves and needs it, consider donating to the Free Software Foundation at fsf.org: These guys are at the frontline when it comes to keeping Linux free and fighting these greedy bastards who think they are entitled to collect royalties and other fees from Linux users due to some silly patents - and if Linux falls, Android will be next.
Can't wait for Trinity to include this!
Sent from my Nexus S using XDA App
i charge my ns to 100% all the time, i wish that i could charge it even more. lol!
Wow! I am waiting for this for long time!
Sent from my Google Nexus S using XDA Premium App
simms22 said:
i charge my ns to 100% all the time, i wish that i could charge it even more. lol!
Click to expand...
Click to collapse
Yeah, the drawback of course is the shorter battery runtime. If even a fully charged battery still is not enough for you to get over the day, this tweak is not for you. However, I mostly use the Nexus for internet, email and music and for me a fully charged battery last for about 3 days. So in my case when setting the charging limit to let's say 80% that is still plenty of reserves.
Before I wrote this tweak I thought about if it actually makes sense to try and prolong the lifetime of these batteries because they can be easily replaced and are also pretty cheap. However it seemed like a good idea purely from an environmental point of view (even if there is no climate change like Rick PArry totally has convinced me).
Ezekeel said:
Yeah, the drawback of course is the shorter battery runtime. If even a fully charged battery still is not enough for you to get over the day, this tweak is not for you. However, I mostly use the Nexus for internet, email and music and for me a fully charged battery last for about 3 days. So in my case when setting the charging limit to let's say 80% that is still plenty of reserves.
Before I wrote this tweak I thought about if it actually makes sense to try and prolong the lifetime of these batteries because they can be easily replaced and are also pretty cheap. However it seemed like a good idea purely from an environmental point of view (even if there is no climate change like Rick PArry totally has convinced me).
Click to expand...
Click to collapse
i thought about the need to prolong the batterys life too. i thought about how long id be using my phone as a primary device before i get a new one vs the actual life of the battery. i figured id replace the phone before the battery actually died. of course, there is that odd random chance that the battery will die much quicker than expected. my original g1 battery from 2008 is still good, and i abused that phone for a long time. but, there is something else that i didnt think about. there are lots of people in the world that are less fortunate than i am. and they need their devices to last them as long as the devices can because they cant afford getting new ones. and that includes the battery too. they would appreciate something like this. of course, there is that envirenmental thing that you touched upon. less crap destroying our wonderful planet
Ezekeel said:
Yeah, the drawback of course is the shorter battery runtime. If even a fully charged battery still is not enough for you to get over the day, this tweak is not for you. However, I mostly use the Nexus for internet, email and music and for me a fully charged battery last for about 3 days. So in my case when setting the charging limit to let's say 80% that is still plenty of reserves.
Before I wrote this tweak I thought about if it actually makes sense to try and prolong the lifetime of these batteries because they can be easily replaced and are also pretty cheap. However it seemed like a good idea purely from an environmental point of view (even if there is no climate change like Rick PArry totally has convinced me).
Click to expand...
Click to collapse
so it is not for hardcore user? I have to recharge the phone every evening *argh* !
Sent from my Google Nexus S using xda premium
Sounds like Simms is waiting for the Nexus Prime?
simms22 said:
i charge my ns to 100% all the time, i wish that i could charge it even more. lol!
Click to expand...
Click to collapse
Sry for the noob question, but how do u charge it to 100%?
I appreciate your work Ezekeel.
I have one suggestion: Can you make one thread with all your MODs included so that it is not fragmented all over the Android Development forum?
That would be very kind of you.
Fantastic...waiting for this!!
Inviato dal mio Nexus S usando Tapatalk
dinuvali said:
Sry for the noob question, but how do u charge it to 100%?
Click to expand...
Click to collapse
You have to charge the phone with the screen on.
I'd rather wait for this mod to be implemented in kernels, or roms.
W00T ! This is THE mod I was waiting for since I got my Nexus S ! Thanks a lot Ezekeel for all your work !
WOW! Very nice. I'm waiting)
We want it fast!!!!
Accidentally sent from my Nexus S using XDA Premium App
Ezekeel said:
Yeah, the drawback of course is the shorter battery runtime. If even a fully charged battery still is not enough for you to get over the day, this tweak is not for you. However, I mostly use the Nexus for internet, email and music and for me a fully charged battery last for about 3 days. So in my case when setting the charging limit to let's say 80% that is still plenty of reserves.
Before I wrote this tweak I thought about if it actually makes sense to try and prolong the lifetime of these batteries because they can be easily replaced and are also pretty cheap. However it seemed like a good idea purely from an environmental point of view (even if there is no climate change like Rick PArry totally has convinced me).
Click to expand...
Click to collapse
What kind of battery you are using, why my battery can only last 1 day with few calls, message and a couple of hours internet.
brainmaster said:
I appreciate your work Ezekeel.
I have one suggestion: Can you make one thread with all your MODs included so that it is not fragmented all over the Android Development forum?
That would be very kind of you.
Click to expand...
Click to collapse
Totally agreeing to that.
I concur.
nice - but not something I see myself using so one little question in advance: If I use a kernel that has this and I just delete this config file - will my ns behave as if it had never been there?
brainmaster said:
I appreciate your work Ezekeel.
I have one suggestion: Can you make one thread with all your MODs included so that it is not fragmented all over the Android Development forum?
That would be very kind of you.
Click to expand...
Click to collapse
You mean joining all the thread in a single one or creating an additional thread as an index which links to the individual threads?
jaoyina said:
What kind of battery you are using, why my battery can only last 1 day with few calls, message and a couple of hours internet.
Click to expand...
Click to collapse
The stock battery with 3G disabled and CPU freq limited to 800GHz.
gotjazz said:
nice - but not something I see myself using so one little question in advance: If I use a kernel that has this and I just delete this config file - will my ns behave as if it had never been there?
Click to expand...
Click to collapse
The charging limit is set to 101 by default, so as long as you do not set a different limit this tweak will do nothing at all.
first, i am sorry for requesting the expert devs or anyone else, to port this Kernel.. as this is a very battery friendly kernel in my galaxy ace.
this kernel is actually done for the Nexus S, but i see no more development in Nexus S section.. or the expert devs can please make a kernel that focused in battery life ? thanks before..
link : http://forum.xda-developers.com/showthread.php?t=1591052
kevintangi said:
first, i am sorry for requesting the expert devs or anyone else, to port this Kernel.. as this is a very battery friendly kernel in my galaxy ace.
this kernel is actually done for the Nexus S, but i see no more development in Nexus S section.. or the expert devs can please make a kernel that focused in battery life ? thanks before..
link : http://forum.xda-developers.com/showthread.php?t=1591052
Click to expand...
Click to collapse
Have you tried the current custom kernels?
I am using SpeedMod 3-9 and it has an excellent battery life - on heavy usage (internet, emails, ebook reading, messaging and phone calls) I reach the end of the day with at least 30% left - and I am talking about heavy use - around 4-5 hours.
For me this is more than enough.
But I am using "ondemand" CPU governor. If I change to "powersave" the battery consumption will be even lower, I think.
My suggestion to you - give it a try - our beloved Note is one of the best in battery tests - and with these tricks it is even better!
dhuewes said:
Have you tried the current custom kernels?
I am using SpeedMod 3-9 and it has an excellent battery life - on heavy usage (internet, emails, ebook reading, messaging and phone calls) I reach the end of the day with at least 30% left - and I am talking about heavy use - around 4-5 hours.
For me this is more than enough.
But I am using "ondemand" CPU governor. If I change to "powersave" the battery consumption will be even lower, I think.
My suggestion to you - give it a try - our beloved Note is one of the best in battery tests - and with these tricks it is even better!
Click to expand...
Click to collapse
You even can reduce power by using a single collar wallpaper.
For black take a picture in bl&white in the lowest resolution with the lens covered with your finger.
You can select this picture as background.
If you like an other single collar you can do it with a paper of your choice
dhuewes said:
Have you tried the current custom kernels?
I am using SpeedMod 3-9 and it has an excellent battery life - on heavy usage (internet, emails, ebook reading, messaging and phone calls) I reach the end of the day with at least 30% left - and I am talking about heavy use - around 4-5 hours.
For me this is more than enough.
But I am using "ondemand" CPU governor. If I change to "powersave" the battery consumption will be even lower, I think.
My suggestion to you - give it a try - our beloved Note is one of the best in battery tests - and with these tricks it is even better!
Click to expand...
Click to collapse
really ? i'm using that for one day, with heavy use of emails, texts, and watching CCTV in my office with 3G always + wifi = end up 10% in 6 P.M from 7 A.M. and one more thing, i love live wallpapers, so i use Koi wallpaper, and auto brightness.. i thought that with 2500 MAh battery it would last more than 1 days of heavy use... you know, i seldom use that in my house, but very heavy user in the office, no games.
bump, how about this http://forum.xda-developers.com/showthread.php?t=1257497 ? more kernels = more choices for users
there is already a ton of custom kernels for the note, Surely you havent tested them all ?
99% of battery drain is down to the user ! anyone will confirm this, You should look a bit deeper into your configuration.
start from a full wipe, test several kernels and try all of the Governors & Schedulers, Use something like 'better battery stats' for precise information of which apps use most power, fiddle with settings like auto-sync, wifi off when sleeping, data network deactivated when not in use ect ect.
1 day battery life is about the average for the average user, This is a powerful device with a massive screen and 2 CPU's, you cant expect the stock battery to last forever, Maybe consider an extended battery ?
azzledazzle said:
there is already a ton of custom kernels for the note, Surely you havent tested them all ?
99% of battery drain is down to the user ! anyone will confirm this, You should look a bit deeper into your configuration.
start from a full wipe, test several kernels and try all of the Governors & Schedulers, Use something like 'better battery stats' for precise information of which apps use most power, fiddle with settings like auto-sync, wifi off when sleeping, data network deactivated when not in use ect ect.
1 day battery life is about the average for the average user, This is a powerful device with a massive screen and 2 CPU's, you cant expect the stock battery to last forever, Maybe consider an extended battery ?
Click to expand...
Click to collapse
Tons ? You gotta be kidding me.. i tested goku, speedmod, notecore. I believe speedmod is just a bit better, but not yet satisfied me. full wipe in ics roms is a troublesome work . Now i use lulzactive governor, sio scheduler, underclock to 800 MHz but still :/ . Extended battery ? Seems a good idea...
Sent from my GT-P6200 using Tapatalk 2
kevintangi said:
Tons ? You gotta be kidding me.. i tested goku, speedmod, notecore. I believe speedmod is just a bit better, but not yet satisfied me. full wipe in ics roms is a troublesome work . Now i use lulzactive governor, sio scheduler, underclock to 800 MHz but still :/ . Extended battery ? Seems a good idea...
Sent from my GT-P6200 using Tapatalk 2
Click to expand...
Click to collapse
For the usage you described, it seems that no modern smarphone would handle it - maybe the Moto Maxx, with its huge battery - but it is not in the league of the Galaxy Note.
But, instead of going to an extended battery solution, which would make your Note heavy and thick, you could go for a "spare battery" solution. And you can find plenty of good quality batteries+charger for less than $20 on Ebay - this should solve your problems entirelly.
dhuewes said:
For the usage you described, it seems that no modern smarphone would handle it - maybe the Moto Maxx, with its huge battery - but it is not in the league of the Galaxy Note.
But, instead of going to an extended battery solution, which would make your Note heavy and thick, you could go for a "spare battery" solution. And you can find plenty of good quality batteries+charger for less than $20 on Ebay - this should solve your problems entirelly.
Click to expand...
Click to collapse
well yes im searching for extended battery with a capacity of 4000 MAh or bigger. and also, i'm using all of the battery tweaks available for android devices. but still havent sastisfied me
For an extended battery the general opinion seems to be that Mugen 5400mAh rules.
Sent from my GT-N7000 using Tapatalk 2
Zamboney said:
For an extended battery the general opinion seems to be that Mugen 5400mAh rules.
Sent from my GT-N7000 using Tapatalk 2
Click to expand...
Click to collapse
Mugen and seidio
Sent from my GT-N7000 using Tapatalk 2
oh yes, i heard that thunderbolt script by pikachu01 is said to improve performance n battery life ? is that working with note ? thanks before..
kevintangi said:
i'm using that for one day, with heavy use of emails, texts, and watching CCTV in my office with 3G always + wifi = end up 10% in 6 P.M from 7 A.M. and one more thing, i love live wallpapers...
Click to expand...
Click to collapse
Well you have said it all and given your own answer in your post - you are a heavy user and there are no scripts on xda that will give you additional battery unless you bring 2 or 3 stock batteries with you.
Extended battery is a bit too big in my opinion and will make the Note really too bulky, but if you don't mind the size this is definitely the way to go to have more juice by the end of the day.
Hello guys
I want to know how much better is Snapdragon s4 compared with Intel's Medfield
1st Google search result...
http://www.engadget.com/2012/09/18/motorolas-razr-i-benchmarks-intel-2ghz-medfield
But in reality the RAZR is pretty snappy, very fast in daily usage.
Aljecama12 said:
Hello guys
... better...
Click to expand...
Click to collapse
Better is the key word...you might be more interested in benchmarks or actual phone use. I don't use benchmarks any more. The RAZR i is a great example of a phone that doesn't have the best benchmarks but in day-to-day use it competes perfectly with some of the phones with 'faster' CPUs. If you Google comparisons with other phones they say that in real usage, you cannot spot a different with a typical dual-core 1.5 / 1.7. This is one of the reasons I don't use bencmarks any more. Theory is theory, not life.
Note that the Medfield chip is the first phone with hyperthreading - it simulates multiple cores by doubling the amount of calculations sent to the CPU. Also, the review posted above quotes the Medfield as being more power efficient, resulting in one extra hour of battery life than the M.
An XDA member has made a comparison of usage here: http://forum.xda-developers.com/showthread.php?t=1921838
Razr i rockz!! I had s2,iPhone 3g,4, bold 9900, xperia z, xperia Ray and Galaxy nexus....
But the i is my best phone all the time!! Long battery, nice notification led, good quality and best haptic!
lg
Hi
Before buying the Razr i did a lot of research between Sony's developer friends since I attended much of the development forum Sony. So my developer friends do not like a single core processor. They say that Android works better with more amounts of nuclei. My doubt was whether the Xperia S was better than the Razr i. Some people say that the Xperia S is better, but I can say I bought Razr ie the Intel is very good, but it is good even super powerful and does not lack ... It was like our friend said maybe your reference points in is not as high, but for a mobile use everyday regarding games, internet browsing everything i Razr cell phone is great. The battery on Intel Android is a revolution has high consumption. In Xperia S saw many complaints that the battery is not even 1 day of use. And with my Razr i I move a lot and play a lot and the battery has 2 days of shelf life
It's amazing how much we actually use our phones in a given day, especially when we watch "videos"! Rate this thread to express how many hours of screen-on time you can get on the LeEco Le Pro3 before depleting the battery.
Then, drop a comment if you have anything to add!
With heavy gaming you get around 4 hours SOT with custom ROM. Stock ROM get 5 hours SOT
Sent from my YT-X703F using XDA-Developers Legacy app
Never noticed this sub-section haha. This is from stock, about 6 months ago. I only charge up to 60% now, so I don't have any recent screenshots that start near 90-100.
Stock based rom. Almost 2 days unpluged, mainly light usage, some gps and camera. Cannot even come close to this on any cm or aosp based rom.
Stock rom 23S 2 days or more with light to medium usage no games just internet, socials app, youtube etc. I have few phones the Pro 3 is the fastest for day to day use, loading apps quickly I got the 6Gb ram/64Gb rom version.
Omni 20170820. I get about 9+ hours of SOT with using GhostPepper governor. About 60 ~ 75 min. for 10% of battery and idle drain eating the rest.
4K2K said:
Omni 20170820. I get about 9+ hours of SOT with using GhostPepper governor. About 60 ~ 75 min. for 10% of battery and idle drain eating the rest.
Click to expand...
Click to collapse
Holy crap! What are all the mods you did and how is your usage of the phone?
islandlife98 said:
Holy crap! What are all the mods you did and how is your usage of the phone?
Click to expand...
Click to collapse
He said as his first word: Omni ROM.. Search here in the XDA.. Maybe they tell you about this governor.. I will search
4K2K said:
Omni 20170820. I get about 9+ hours of SOT with using GhostPepper governor. About 60 ~ 75 min. for 10% of battery and idle drain eating the rest.
Click to expand...
Click to collapse
Do you have stock kernel or another one?
Do you have any visible bug like battery stats and others?
You people have to remember that there's TWO versions of Le Pro 3.. one with 4gb ram... other 6gb ram... there's a HUGE gap between those two models regarding battery life IMHO...
Luckzzz said:
You people have to remember that there's TWO versions of Le Pro 3.. one with 4gb ram... other 6gb ram... there's a HUGE gap between those two models regarding battery life IMHO...
Click to expand...
Click to collapse
Like what? 2gb extra brings more battery life, because it keeps more app in the background?
SUMMERBREEZE said:
Like what? 2gb extra brings more battery life, because it keeps more app in the background?
Click to expand...
Click to collapse
Unlike.. 2gb more ram hogs more battery as it asks the CPU more things to do and stuff (I'm not the guy to explain it hahah).. but do you think a (supposed) 16gb ram mobile can't hog more battery? Think about that
SUMMERBREEZE said:
Like what? 2gb extra brings more battery life, because it keeps more app in the background?
Click to expand...
Click to collapse
If you want great battery life buy phone with Snapdragon 625, every day use is plenty fast, fine, simlar to Sd820/821. Xiaomi phone is ok they have few with Sd625.
Luckzzz said:
You people have to remember that there's TWO versions of Le Pro 3.. one with 4gb ram... other 6gb ram... there's a HUGE gap between those two models regarding battery life IMHO...
Click to expand...
Click to collapse
This "HUGE" gap is theoretically 5% mentiond by Qualcomm itself if you cmp the sd820 with the 821.. That isn't huge but still 0.5/10th of the battery life, depending on how well the rom has been ported and optimized.
For the stock rom, it will probably last. But if you don't like the iOS clone design of android that runs on it well, a custom rom isn't going to beat it anytime soon unfortunately..
Omnirom 20171018 + Black Screen Kernel v3.6.1 + Ex Kernel Manager (alucard governor, I/O is noop, perfd is disabled)
No gaming, but plently social media apps, internet, wifi etc.
It is between 8 to 9.5 hours up to the usage. Your usages may varry though.
islandlife98 said:
Holy crap! What are all the mods you did and how is your usage of the phone?
Click to expand...
Click to collapse
GhostPepper 2.0 as Advanced Governor Profile. There are better battery saving profiles but I find GP2.0 to be the smoothest while proving excellent battery life.
Autostarts to unlink unnecessary event trigger.
Greenify to force certain misbehaving apps to sleep instead of sucking up battery background.
Forcedoze to further force doze but I am not sure if it is useful at this point. I am considering to uninstall it.
Underclock to 1516 and 1900mhz. I do not use heavy apps so it works for me.
I also use battery in 40 ~ 80% range so after a full year of use, my battery is in good shape. I only charge up to 90~100% when I'm traveling.
---------- Post added at 05:20 PM ---------- Previous post was at 05:15 PM ----------
SUMMERBREEZE said:
Do you have stock kernel or another one?
Do you have any visible bug like battery stats and others?
Click to expand...
Click to collapse
Stock Omni kernel. I've been on 0820 build/kernel as versions after it gave me worse battery life. Then I recently updated rom to the latest one due to KRACK. I noticed that the kernel is still draining more battery so I flashed 0820 kernel.
Now, my understanding is that battery drain is function of kernel, not rom. But with latest rom and 0820 kernel setting, I am seeing significantly higher battery usage. It could be some other factor so I am in test mode now.
Battery stats bug? Big core battery stats in EX Kernel Manager. Never had that issue on 0820 but with latest version, I do see it.
SUMMERBREEZE said:
Omnirom 20171018 + Black Screen Kernel v3.6.1 + Ex Kernel Manager (alucard governor, I/O is noop, perfd is disabled)
No gaming, but plently social media apps, internet, wifi etc.
It is between 8 to 9.5 hours up to the usage. Your usages may varry though.
Click to expand...
Click to collapse
I gave Black Screen Kernel and Alucard governor a try after reading your post. Though it is too early to draw a call, it seems to be slightly better than GhostPepper tweak. It is very very good.
Ive Got LineageOS 14.1 and latest BlackScreen, but my SOT is between 5-5.30h :[
Im using ondemand cpu governor on big cores and schetudil on small ones.
GPU governor is simple_ondemand, I/O is set as Noop, there is also low memory killer set as agressive.
Im also using Greenify (without shallow Hibernation).
Im thinking that Its not good score for my settings. What should, i change?
Thanks!
I reached 9 hours sot without akt or anything else. Just the banggood's 20s rom. I am pretty impressed.
I have the elite x722. Sorry.
Don't normally go past 7 hours , system service always seems to drain my battery
Samsung write that the Note 9 has a battery size of 4000 mAh.
Unfortunately, some Note 9 users has reported, that they can recharge ~ 3650mAh maximum only! (German Android Forum)
This seems to be a new 'me too' discussion. because i am affected too!
What do you have for own experiences? Do you be able to recharge up to 4000 mAh?
I have used the accubattery app to measure my battery.
Please answer, if possible. Thanx in advance.
There's already a thread for that. No need for two.
https://forum.xda-developers.com/galaxy-note-9/help/max-battery-capacity-4-amps-t3838440/page11
Duplicate thread closed!
https://forum.xda-developers.com/galaxy-note-9/help/max-battery-capacity-4-amps-t3838440