Use Nexus 4 as IP WiFi camera - Nexus 4 General

Hi there, I am planning to not let my Nexus 4 sit in the dust and use it for something useful. I am aware that IP cam use can make the phone go very warm and deplete the battery, maybe making it even expand and thus I am looking at solutions regarding this.
Can you suggest an IP cam app that is performace efficient, works with screen off?
Is there any way to limit battery charging with root? I am thinking of AccA but the goal here is to not stress the battery and letting it charge contiously on 100%.

If it's going to be a camera hooked up to the Internet, the easiest way to do it is with a Tuya electrical outlet with the power on/off setting adjusted to the battery's current draw. You can control the battery status in AlfredCamera, which serves as the camera's app and has a built-in screen saver.

Related

Power management - an explanation

I cannot find a decent explanation of some of the power management options available for my Diamond and so I wondered if an expert would mind explaining what the following are, what they do and how much power we might expect to save by enabling them in the power management section of advanced config:
AsyncMac1
PPTP1
L2TP1
I dont want to compromise the ease of going online, my IMAP email polling or my push email through ActiveSync, but of course I am keen to extend battery life.
In addition, I have found that during my 1 hour commute undergroud each day, my battery goes down by about 20%! However, the next hour (in my office), battery usage drops by only around 5-10% depending on usage. Does anyone have any specific advise to help with this? On the underground, the device goes to sleep as well as I am not using it.
Thanks in advance.
The Jones said:
In addition, I have found that during my 1 hour commute undergroud each day, my battery goes down by about 20%! However, the next hour (in my office), battery usage drops by only around 5-10% depending on usage. Does anyone have any specific advise to help with this? On the underground, the device goes to sleep as well as I am not using it.
Thanks in advance.
Click to expand...
Click to collapse
that's normal. using yr phone in a place where the reception is not good will drain yr battery faster.
i can add (there is a relation) that the level of radiation that any phone is emitting it is also higher when reception it is not strong enough. i've seen it demonstrated yesterday. entering in yr car double the level of radiation, in an elevator the radiation increases 10 folds! yr phone tries to connect and that's energy consuming and radiation emitting (electromagnetic).
KukurikU said:
that's normal. using yr phone in a place where the reception is not good will drain yr battery faster.
i can add (there is a relation) that the level of radiation that any phone is emitting it is also higher when reception it is not strong enough. i've seen it demonstrated yesterday. entering in yr car double the level of radiation, in an elevator the radiation increases 10 folds! yr phone tries to connect and that's energy consuming and radiation emitting (electromagnetic).
Click to expand...
Click to collapse
Thanks for that. Now I am not sure if I should try and solve this problem or throw away my phone and save the radiation
But just in case I choose to keep using it, is there anything I can do to mitigate this rapid power loss at all? Is there a setting which will stop the phone from trying too hard in these circumstances?
Check this out:
http://www.wikihow.com/Make-Your-Cell-Phone-Battery-Last-Longer
The Jones said:
Thanks for that. Now I am not sure if I should try and solve this problem or throw away my phone and save the radiation
But just in case I choose to keep using it, is there anything I can do to mitigate this rapid power loss at all? Is there a setting which will stop the phone from trying too hard in these circumstances?
Click to expand...
Click to collapse
don't save the radiation!
the ministry of health in my country just issue a general warning regarding the danger of prolonged/heavy use of mobile phones. it is strongly recommended to use the phone only in open spaces and with headphones. they even warn the mobile phone users not to sleep with their phone close by. the phone is constantly emitting electromagnetic radiations.
i guess that you bought yr phone not too long ago. i know it sounds strange but after a few cycles yr battery's life is going to improve and i am not the only one to observe it.
don't stop the charging when the battery icon is full. i learned using a wall charger with LED (red for charging, green for charged) that after diamond's icon said 100% the charging continues for at least 30 minutes more (the led was not fully green but was blinking red-green).
from my experience u can use all power management option from shap's advanced configuration without loosing yr connectivity. i can not tell u what those option are but after using all i can tell that diamond's battery life improved.
I have tried using all the power saving options in advanced config tool, but when I restarted my device, I lost connectivity. I couldnt connect to anything. So I set them back to disabled, soft reset the phone and all is well again.
Any idea what that could be?

[Q] Nook battery dies fast

I only have 5 widgets, and my brightness is also low as possible. I have wifi off when i don't use it, but my battery still dies kinda fast. Should i delete cell standby? And what else can i do?
You really should define "kinda fast" so folks can answer objectively
Well just playing games like angry birds for 20 minutes it drops like 10%
EverythingNook said:
Well just playing games like angry birds for 20 minutes it drops like 10%
Click to expand...
Click to collapse
1) Which ROM
2) What widgets
3) What are you using to monitor battery drop
10% in 20 minutes (screen on, in use) is pretty aggressive.
HotShotAzn said:
1) Which ROM
2) What widgets
3) What are you using to monitor battery drop
10% in 20 minutes (screen on, in use) is pretty aggressive.
Click to expand...
Click to collapse
1. Stock with launcherpro
2. Typoclock power control beautiful battery google search and music
3. Beautiful battery
EverythingNook said:
1. Stock with launcherpro
2. Typoclock power control beautiful battery google search and music
3. Beautiful battery
Click to expand...
Click to collapse
What drain are you seeing with screen off/idle?
with the screen off for about 5 hours i saw a 21% drain.
Drop the widgets and livewallpaper if you've got it. Retest standby.
If you're getting high battery drain during standby your nook isn't going into deep sleep and chances are that background overhead translates to poor efficiency at idle when the nook is on as well. Couple poor idle efficiency with CPU intensive work while in use and your overall battery life is terrible.
If you're forcing the nook to stay out of deep sleep for other reasons like keeping wifi alive then you may be stuck with living with some sort of elevated drain but you can minimize it by reducing idle overhead by keeping widgets to a minimum and refraining from using live wallpapers and other background services that aren't critical.
Tacking on to here rather than starting a new thread...
My Nook Color rooted, but still on stock ROM goes from 100% charge to 25% in about 8-9 hours with zero usage. Obviously something's going on (I suspect it's that I have Advanced WiFi sleep policy set to never and am away from WiFi), but no other widgets running. I do have Google Voice app installed.
What I'm curious about is what would normal standby battery drain be? What would be typical after 8-9 hours of just sitting untouched in my brief case?
Thanks in advance!
distortedloop said:
Obviously something's going on (I suspect it's that I have Advanced WiFi sleep policy set to never and am away from WiFi), but no other widgets running.
Click to expand...
Click to collapse
If you suspect it, disable it and see. I'm thinking that would be a prime suspect.
distortedloop said:
What I'm curious about is what would normal standby battery drain be? What would be typical after 8-9 hours of just sitting untouched in my brief case?
Click to expand...
Click to collapse
I believe typically overnight you should see less than 10% drain.
In CM7 at least, in Spare Parts you can see what uses the battery while the NC is asleep.
distortedloop said:
Tacking on to here rather than starting a new thread...
My Nook Color rooted, but still on stock ROM goes from 100% charge to 25% in about 8-9 hours with zero usage. Obviously something's going on (I suspect it's that I have Advanced WiFi sleep policy set to never and am away from WiFi), but no other widgets running. I do have Google Voice app installed.
What I'm curious about is what would normal standby battery drain be? What would be typical after 8-9 hours of just sitting untouched in my brief case?
Thanks in advance!
Click to expand...
Click to collapse
do you have it overclocked? if so, have a profile that clocks it down to 300mhz when the screen is locked
hxh103 said:
do you have it overclocked? if so, have a profile that clocks it down to 300mhz when the screen is locked
Click to expand...
Click to collapse
No, not yet. It's 100% stock, other than rooting and downloading apps. I'm going to put SystemPanel on it and see if it gives a clue.
I've got a good idea of how to track down battery issues on most android devices, I was just mostly curious what the typical drain other rooted users saw was.
Thx for the suggestions to all.
hxh103 said:
do you have it overclocked? if so, have a profile that clocks it down to 300mhz when the screen is locked
Click to expand...
Click to collapse
Good lord, this isn't going to help anything. Normal Nook Colors on the stock ROM (and kernel....) use about .2%/hr in standby.
Clearly something is running wild on this guys NC, and needs to look at Spare Parts. Install it from the market.
System Panel as well as other tools can help as well.
Okay, I'm a pretty smart guy usually, but I'll publicly put on the dunce cap and admit to my ignorance on this one.
System Panel actually showed some amazingly good lack of drain with all my apps running.
The reason my battery was so low when I checked it each afternoon is because even though I thought I was charging the thing over night, I wasn't. I was using a regular micro-usb cable for my phone to plug the thing in most nights.
Turns out the Nook Color has an extra deep micro-usb receptacle and requires a better endowed male plug to get it charged properly.
Lame...
(Lame of me, but also lame of B&N to make such a design decision. What were they thinking? I HATE proprietary connectors.)
distortedloop said:
Okay, I'm a pretty smart guy usually, but I'll publicly put on the dunce cap and admit to my ignorance on this one.
System Panel actually showed some amazingly good lack of drain with all my apps running.
The reason my battery was so low when I checked it each afternoon is because even though I thought I was charging the thing over night, I wasn't. I was using a regular micro-usb cable for my phone to plug the thing in most nights.
Turns out the Nook Color has an extra deep micro-usb receptacle and requires a better endowed male plug to get it charged properly.
Lame...
(Lame of me, but also lame of B&N to make such a design decision. What were they thinking? I HATE proprietary connectors.)
Click to expand...
Click to collapse
Extra WIDE, not deep. And there's good reason USB standards are .5A over the typical 4 pin connection. The B&N cable has FOUR extra pins, delivering the other 1.4A of power.
Extra deep. Two stages...
First stage 5 pins, second stage 12 pins...
Sent from my Nexus One using XDA Premium App
Yup same cable as my Droid2 and Droid before it....
Krazypoloc said:
Yup same cable as my Droid2 and Droid before it....
Click to expand...
Click to collapse
Does this mean we can use the droid2 and droid's cables as alternatives?
khaytsus said:
Extra WIDE, not deep. And there's good reason USB standards are .5A over the typical 4 pin connection. The B&N cable has FOUR extra pins, delivering the other 1.4A of power.
Click to expand...
Click to collapse
Thanks for the extra info about the additional voltage; so it will charge much faster this way? (rhetorical question)
I still am annoyed at yet another non-standard cable that I'll have to carry around with me when I travel to keep various devices charged, but in the scheme of things it's a minor annoyance. Stuff like this should be standardized, IMHO.
And it's extra DEEP, not wide. It's the same width as a standard micro-usb cable or I wouldn't have been able to stick my phone's charging cable into it at all, but I was able to, it just didn't go in deep enough to charge at all. On the flips side, the B&N cable fits into my phone, but only inserts half-way deep; if it were extra wide it wouldn't fit into my phone at all.

Tips to get better battery life. With or without root.

General tips I can think of are:
Use black theme on display settings,
greenify doze setting using adb.
Any suggestions just post below.
beache said:
General tips I can think of are:
Use black theme on display settings,
greenify doze setting using adb.
Any suggestions just post below.
Click to expand...
Click to collapse
I take it you mean non-root?
- Brightness!!!!
- Apps running in the background and preventing phone from sleeping permission; Downlaod Shizuku Manager and App Ops from the Play Store, run the script via adb and limit the apps you don't want to have those permissions. Instant messaging: Don't limit run in background
- Did I mention brightness!?!?
- I don't do this one, but don't charge your phone past 80%. This is more of a long term battery saver, as it will cause less damage to the battery. Also don't keep your phone plugged in overnight. (I don't leave mine in)
- Disable radios while not in use. I never use NFC or nearby device scanning, I turn those off. Wi-Fi and Bluetooth are never on while not in use. You'll get in the habit of turning them off it you start.
Craz Basics said:
I take it you mean non-root?
- Brightness!!!!
- Apps running in the background and preventing phone from sleeping permission; Downlaod Shizuku Manager and App Ops from the Play Store, run the script via adb and limit the apps you don't want to have those permissions. Instant messaging: Don't limit run in background
- Did I mention brightness!?!?
- I don't do this one, but don't charge your phone past 80%. This is more of a long term battery saver, as it will cause less damage to the battery. Also don't keep your phone plugged in overnight. (I don't leave mine in)
- Disable radios while not in use. I never use NFC or nearby device scanning, I turn those off. Wi-Fi and Bluetooth are never on while not in use. You'll get in the habit of turning them off it you start.
Click to expand...
Click to collapse
Leaving the phone plugged in all night wont do any damage to the battery. Once charged the current to the battery is cut off except for when it needs trickle charging throughout the night, the power used by the phone will then come from the wall adapter. But if you dont want to charge your phone all of the way, then thats when you dont leave it plugged in all night unless you have a circuit to disconnect power at a certain battery percentage. Oh man that gives me an idea.
I should make a small circuit thats linked via bluetooth to an app, so pretty much a power adapter that you plug your phone into, but once you reach a certain percentage, the phone tells the adapter to cut power and only turn on to get it back up to that certain percentage.
Okay that was really side tracked.
Back to the post.
Like Craz said, brightness and radios.
If you are rooted, download KA or EXKM and underclock your cpu, thatll help out a bit, also if rooted you could try a custom kernel
Root:
Force Doze
Naptime
Greenify
Custom kernel
CPU underclock
Use tasker to limit cpu speed when screen off or in certain apps
Non Root:
Dark themes
Lower brightness
Make sure apps arent running in the background that use a lot of power
Disable location services
Disable radios unless in use (tasker helps especially with root)
If you plan to have your phone for over a year or two, then the charge limits, but capacity wont change much within the first few hundred cycles
Use Wifi as much as possible (cell uses more power)
Disable screen off gestures
Make sure doze and advanced optimizations are enabled
Tips for better battery life.
And a lot of common sense.
tuncan said:
Tips for better battery life.
And a lot of common sense.
Click to expand...
Click to collapse
very helpful thanks
chewingum16 said:
very helpful thanks
Click to expand...
Click to collapse
Tnx. :good:
Zombie said:
Leaving the phone plugged in all night wont do any damage to the battery. Once charged the current to the battery is cut off except for when it needs trickle charging throughout the night, the power used by the phone will then come from the wall adapter. But if you dont want to charge your phone all of the way, then thats when you dont leave it plugged in all night unless you have a circuit to disconnect power at a certain battery percentage. Oh man that gives me an idea.
I should make a small circuit thats linked via bluetooth to an app, so pretty much a power adapter that you plug your phone into, but once you reach a certain percentage, the phone tells the adapter to cut power and only turn on to get it back up to that certain percentage.
Okay that was really side tracked.
Back to the post.
Like Craz said, brightness and radios.
If you are rooted, download KA or EXKM and underclock your cpu, thatll help out a bit, also if rooted you could try a custom kernel
Root:
Force Doze
Naptime
Greenify
Custom kernel
CPU underclock
Use tasker to limit cpu speed when screen off or in certain apps
Non Root:
Dark themes
Lower brightness
Make sure apps arent running in the background that use a lot of power
Disable location services
Disable radios unless in use (tasker helps especially with root)
If you plan to have your phone for over a year or two, then the charge limits, but capacity wont change much within the first few hundred cycles
Use Wifi as much as possible (cell uses more power)
Disable screen off gestures
Make sure doze and advanced optimizations are enabled
Click to expand...
Click to collapse
yes it will on many cases, but I can't tell with the OP5. Is the circuit will cut-off the battery from the phone to avoid drain? If yes, in that case, it won't hurt significantly the battery.
In general , what can hurt li based batteries : time, heat and numbers of time of electrons changing direction.
Having the phone plugged in, every X time the % will drop, and the charging circuit will trigger the battery.
As I said, can't tell how op5 is working, and it probably be minimal anyway. But technically it will reduce the capacity : http://batteryuniversity.com/learn/article/charging_lithium_ion_batteries
Heat : 20W charger, even if its a vooc, at one point the battery will get a high current load = heat, and chemical li-po arrangement changes.
Time : cant do nothing here, chemical arrangement will degrade, its a normal process for most battery, specially li based one.
But at the end, not much people would see any difference, since nowadays people changing their phone every 1-2 years, fck ridiculous...
Back to topic :
Pixel off apps , many of them on the play strore, can't tell which one is good or not.
Basically, it will turn off pixels on the screen.
https://play.google.com/store/apps/details?id=com.anrapps.pixelbatterysaver&hl=fr
i find if i turn off the wifi always scanning feature and also turn off keep wifi on during sleep saves battery. actually i keep all wifi off unless i'm currently using it. as already mentioned, location services off, since i keep phone on all the time i get data through that. i've experienced battery times up to 6 days if calls in&out are 10 or lower each day and each call no more than 3 min, i'm a firm believer in hello, just facts, goodbye. i know people that live life via a phone find that strange but they will die of brain cancer not me. my neighbor is on phone no less than 7 hours a day just bullsh*tting and he talks real funny, i think his brain is rotting already. check to see which apps run all the time and kill those you do not need. as mentioned, lower screen brightness. 90% of the time mine is a couple clicks from as low as it can be and it is fine. i'd do the dark thing but it f*cks with my eyes. keep all apps closed you are not presently using instead of loaded in background.
dkryder said:
i find if i turn off the wifi always scanning feature and also turn off keep wifi on during sleep saves battery. actually i keep all wifi off unless i'm currently using it. as already mentioned, location services off, since i keep phone on all the time i get data through that. i've experienced battery times up to 6 days if calls in&out are 10 or lower each day and each call no more than 3 min, i'm a firm believer in hello, just facts, goodbye. i know people that live life via a phone find that strange but they will die of brain cancer not me. my neighbor is on phone no less than 7 hours a day just bullsh*tting and he talks real funny, i think his brain is rotting already. check to see which apps run all the time and kill those you do not need. as mentioned, lower screen brightness. 90% of the time mine is a couple clicks from as low as it can be and it is fine. i'd do the dark thing but it f*cks with my eyes. keep all apps closed you are not presently using instead of loaded in background.
Click to expand...
Click to collapse
I can't really tell if you are joking about the brain cancer part or not. Some people might take you seriously
shangxor said:
I can't really tell if you are joking about the brain cancer part or not. Some people might take you seriously
Click to expand...
Click to collapse
oh, sorry about that.
https://www.jrselectrohealth.com/in...ween-1985-and-2015-in-the-u-k/?c=cf13ce20305c
dkryder said:
oh, sorry about that.
https://www.jrselectrohealth.com/in...ween-1985-and-2015-in-the-u-k/?c=cf13ce20305c
Click to expand...
Click to collapse
"While the new plots in themselves say nothing about any possible links between cell phones and brain tumors, they go a long way toward puncturing the argument offered by numerous public health officials and media outlets that such an association is highly unlikely because the overall incidence of brain tumors has remained relatively stable over the last number of years."
http://microwavenews.com/short-takes-archive/changing-mix-uk-bts
He had based part of his study on incorrect data also.
---------- Post added at 07:35 AM ---------- Previous post was at 07:30 AM ----------
[/COLOR]
shangxor said:
"While the new plots in themselves say nothing about any possible links between cell phones and brain tumors, they go a long way toward puncturing the argument offered by numerous public health officials and media outlets that such an association is highly unlikely because the overall incidence of brain tumors has remained relatively stable over the last number of years."
http://microwavenews.com/short-takes-archive/changing-mix-uk-bts
He had based part of his study on incorrect data also.
Click to expand...
Click to collapse
yes, i offered the link as a punchline to your comment about joking. however i do have a question about your comment,
"He had based part of his study on incorrect data also"
why didn't you include the part of the study and the incorrect data? because, when statement like this is made it is left to the reader to determine the part of the study and the incorrect data which may lead to misunderstandings.

2 days absolute max battery life with 'normal' use?

Morning all.
Something that has been slightly bothering me since I got this phone....it has a massive battery, it can be heavily customised with roms, xposed modules, magisk modules and all manner of tweaks. Probably one of the most open and dev-friendly devices I've ever had.
Yet, no matter what I do the only way I have ever been able to get more than 2 days out of a battery is to literally not use the phone.
I have had devices in the past such as Xperia Z3 Compact, S7 Active and others with smaller battery that were easily able to push 3 days with regular use. Hell, the Z3C was able to get up to 5 days with a little bit of trickery turning off radios when not in use etc.
Is the extra diagonal inch of screen realestate really enough to destroy the battery longevity? Typically with normal usage I am seeing 2 days with about 4.5 hours of screen-on time.
I've experimented with just about everything to push this out including no official facebook apps, decreased resolution, medium power-saving mode, kernel tweaks (currently using TGP rom and kernel), auto-sync turned off. Going beyond this I feel like you may as well just use a push-button device.
Any devs care to comment? What is the main factor that eats the battery on the Note 9? Is the exynos processor just not that power-efficient? Am I missing some hidden gem?
I guess the next step would be to transition to an AOSP based rom where the customisation is not constrained by baked-in samsung features but again, this is giving up a lot including proper s-pen functionality.
I recently kitted out an LG V30+ for my wife and it is just insane to me that a phone which only has a 3300mah battery can get the same life as the Note9 or better.
Is there some strategy I have missed or is this really the best we can hope for? Seems like an extremely inefficient use of 4000mah to me.
bandario said:
Morning all.
Something that has been slightly bothering me since I got this phone....it has a massive battery, it can be heavily customised with roms, xposed modules, magisk modules and all manner of tweaks. Probably one of the most open and dev-friendly devices I've ever had.
Yet, no matter what I do the only way I have ever been able to get more than 2 days out of a battery is to literally not use the phone.
I have had devices in the past such as Xperia Z3 Compact, S7 Active and others with smaller battery that were easily able to push 3 days with regular use. Hell, the Z3C was able to get up to 5 days with a little bit of trickery turning off radios when not in use etc.
Is the extra diagonal inch of screen realestate really enough to destroy the battery longevity? Typically with normal usage I am seeing 2 days with about 4.5 hours of screen-on time.
I've experimented with just about everything to push this out including no official facebook apps, decreased resolution, medium power-saving mode, kernel tweaks (currently using TGP rom and kernel), auto-sync turned off. Going beyond this I feel like you may as well just use a push-button device.
Any devs care to comment? What is the main factor that eats the battery on the Note 9? Is the exynos processor just not that power-efficient? Am I missing some hidden gem?
I guess the next step would be to transition to an AOSP based rom where the customisation is not constrained by baked-in samsung features but again, this is giving up a lot including proper s-pen functionality.
I recently kitted out an LG V30+ for my wife and it is just insane to me that a phone which only has a 3300mah battery can get the same life as the Note9 or better.
Is there some strategy I have missed or is this really the best we can hope for? Seems like an extremely inefficient use of 4000mah to me.
Click to expand...
Click to collapse
This is what you get when you use a high performance chip.
If it was like cars.. just because the gas tank is big (battery) doesn't mean that the engine won't consume the fuel faster than a more Efficient engine (cpu) with less power.
Other phones might be able to last 3 days, but they also dont have the performance capabilities. Turn on extreme power saving and see how long the phone lasts ...
I'm using stock unbranded ROM. I also adp uninstalled all the Facebook system apps (devil-ware). With Pie + OneUI + Night mode + Dark UI apps, it's the first time I love stock. I bet your non-stock ROM + TGP is the culprit.
I charge nightly on a wireless charge pad; easy on the battery. In Device Care, I run the default "Optimized" setting. I use it moderately for the first 12 hours of my working day (meetings phone calls), and I often have 85-90% charge left at that point. I then use the phone HEAVILY for the next 4 hours (watching video, reading, etc.), and at that point I am never below 50% (often 60-70) when I put it back on the charge pad, go to sleep, and start the whole thing over again. I have the US version (Snapdragon), darkmode and auto brightness is always on, and I use Automate to toggle my wifi off when not home and back on when home. Other than that, I have gps, bluetooth, and phone data always on. Bluetooth pairs with my watch and car, and gps auto-toggles by the kernel whenever I load maps or whenever my Life360 app updates my location (every few minutes).
That's all fairly normal use with a bit of power-savings thought into it. If you cannot get similar performance without your screen brightness jacked way up and wifi always on (that eats battery as you move around), then maybe you have a power-hungry app. Check your Device Care section of Settings, and start watching your "Usage by apps".
Also, it's better to slow-charge than fast-charge (wears it out more quickly). And you are better off charging nightly than waiting two days until it's very low.
gruuvin said:
I charge nightly on a wireless charge pad; easy on the battery. In Device Care, I run the default "Optimized" setting. I use it moderately for the first 12 hours of my working day (meetings phone calls), and I often have 85-90% charge left at that point. I then use the phone HEAVILY for the next 4 hours (watching video, reading, etc.), and at that point I am never below 50% (often 60-70) when I put it back on the charge pad, go to sleep, and start the whole thing over again. I have the US version (Snapdragon), darkmode and auto brightness is always on, and I use Automate to toggle my wifi off when not home and back on when home. Other than that, I have gps, bluetooth, and phone data always on. Bluetooth pairs with my watch and car, and gps auto-toggles by the kernel whenever I load maps or whenever my Life360 app updates my location (every few minutes).
That's all fairly normal use with a bit of power-savings thought into it. If you cannot get similar performance without your screen brightness jacked way up and wifi always on (that eats battery as you move around), then maybe you have a power-hungry app. Check your Device Care section of Settings, and start watching your "Usage by apps".
Also, it's better to slow-charge than fast-charge (wears it out more quickly). And you are better off charging nightly than waiting two days until it's very low.
Click to expand...
Click to collapse
A lot of people don't realize the huge difference that your cellular connection strength makes a difference on your battery.
Try working in a all brick/stone bank building, where 250kb/s is a good 4g download speed... Then see what your battery looks like after a few hours.
Bober_is_a_troll said:
A lot of people don't realize the huge difference that your cellular connection strength makes a difference on your battery.
Try working in a all brick/stone bank building, where 250kb/s is a good 4g download speed... Then see what your battery looks like after a few hours.
Click to expand...
Click to collapse
YEP!
And same goes for wifi.....
wifi and cell radios can really eat up battery if they are trying to maintain a connection in areas where wifi/phone signal is weak. And app like Tasker or Automate can toggle these on and off, depending on your location, and really save battery.
Well, that probably explains a few things. I moved in to a SOLID brick building recently with double glazing everywhere and multiple solid brick internal walls. First time I've ever battled for cell and wifi signal...that does explain a lot. I guess 2 days is still pretty good. Might end up with one of those 10,000mah Chinafones eventually ;p

Limit Battey Charge % Android 11

Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge.
Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
jljtgr said:
I've been running A11 for about a week and did not encounter any issues with Battery Charge Limit. Maybe make sure that it's not battery optimized? I have it "not optimized" because I'm paranoid about it, rather than having direct problems.
Click to expand...
Click to collapse
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
This the settings you have?
Path Data: /sys/class/power_supply/charger/charge_disable
Enable Value: 0
Disabled Value: 1
hawkswind1 said:
I made sure battery charge limit wasn't optimized. You're using the same custom setting from android 10? Maybe I'll try it again
Click to expand...
Click to collapse
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
jljtgr said:
I didn't change anything at all... and honestly with all of the other A11 problems I've been having... I didn't even think to check that it was working. It just has been. I also double-checked with AccuBattery and the history never shows above my limit.
This is my control file settings as seen on the main screen:
Code:
/sys/class/power_supply/charger/charge_disable, 0, 1
Click to expand...
Click to collapse
I think that's the custom setting probably restored from your Google backup. Same one I was using. I'm gonna try it again though, thanks
hawkswind1 said:
Anyone found a consistent way to limit battery charge % on Android 11? The custom settings I used with Battery Charge Limit app on 10 work intermittently on 11. Often times I'd wake up to 100% charge. Currently I'm using Advanced Charging Controller magisk module with it's accompanying AccA app but often AccA gets killed in the background even after not optimizing it in battery optimization. The only workaround I've found is to create a macro that opens AccA every time I plug in the charger. With that step it's consistent but I'd like to find something not so hacky.
Click to expand...
Click to collapse
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
v12xke said:
Have you tried Accubattery? Along with charge limiting it has other useful features, including reporting battery capacity vs. new (under health).
Click to expand...
Click to collapse
Accubattery is fine and all for reporting and giving an idea of where you want to stop charging... but it has no ability to limit charging. The only thing it can do is nag you to take the phone off the charger. This thread is about root applications actually blocking the phone from charging past a certain level without making the user do anything or even notifying the user about what's being done.
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
rcbjr2 said:
I realize this is a couple of months old. but I just got a new OnePlus 8T, now rooted, and I'm trying to use Battery Charge Limit on it. I can't quite figure out the settings to have it work consistently. Let's say the phone is already at 100% when I plug it in. Battery Charge Limit starts, but then it flip-flops between Charging and Not Charging, starting and restarting. The phone woke me up last night because it was making a ding every time Battery Charge Limit flipped between charging and not charging. One would think that if the phone was at 100% Battery Charge Limit would turn off charging and let it drop down to my 85% limit and then back up to 91%, but never got above 91%. Thoughts? Thanks.
Click to expand...
Click to collapse
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
jljtgr said:
It's possible it's not configured correctly for your phone. You can also just disable that notification channel, since mostly it's just annoying. It constantly fliping might mean that there's more than one control file for your phone type and it's using an ineffectual one that the OS is overriding immediately. For example, the default one it detects for Pixel 4's is not the one it should use.
Click to expand...
Click to collapse
Thanks for the reply. The problem is that I use the notification to trigger Tasker profiles, so I was hoping to figure out a way to get it to stop flipping back and forth while also retaining the notification. I think it's just the standard control file since it's a OnePlus phone, but I'm not sure I can figure out otherwise. When I first start using BCL, I found the control file and was able to manipulate it with a SQL editor and Shell commands in Tasker, but I haven't poked around the OnePlus 8T that much yet.
Just as a PSA, I think Adaptive Charging from the January update can conflict with this. On days where I set a morning alarm, I found that my battery was more full than it should be. I suspect that Adaptive Charging does something that Battery Charge Limit cannot block. I won't know for a few days if turning this off in settings fixes things 100% or the January update just really screws with this.
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
Well, as a root method it does seem to work. Depending on your taste, it might be cleaner than an app toggling a different variable. Of course you need an app to set the file back to 100 when you want it. Some Tasker widgets work for my purposes... could probably make it a QuickSettings toggle in the shade, actually.
Bottom of that thread, I was wondering specifically if there might be way to force an unrooted device to think it met one of these conditions, so it only charges to 80%.
Specific post link:
Battery Charge Limit settings for pixel 3
Hi all, I like the app, Battery Charge Limit (root required), but was wondering how to set the control file. I works fine with Xperia (with/without Lineage), but doesn't work with Pixel 3 stock firmware (Android 10). And finally found how to...
forum.xda-developers.com
i.e.
... your phone automatically limits charging to about 80% under certain conditions:
Continuous charging under high battery drain conditions, like game play.
Continuous charging for four days or more.
I've done very little research on this, but I expect the ways to fool the phone into thinking those things are happening is even more complicated than using that root file control. Meaning also requiring root but manipulating other control files.
I suppose you could have a case and a ribbon USBC connector that fools the charging logic into thinking it is constantly connected to a hardware charger even though it's still at a net negative power. After 4 days of having the case on, it might work. I don't know why anyone would have already built something like that, however.
I would root my phone but, as my daily driver, I need things like banking apps to work. They (at least some) detect rooted phones and refuse to load as a security measure (which is probably a good thing) :-(
Banking apps are usually just a frontend to their website used API. They have no problem with you using a browser on a rooted phone or Linux PC, etc. Any app that stores sensitive data on your phone and relies 100% on the filesystem being locked down was created wrong and lazily. The only thing about banking apps that might be legitimate is when things like unique CC info is stored for NFC and using a TPM can't be assured. Most banking apps, however, do not store anything sensitive on your phone aside from a login token which all websites also do. (it's called a cookie)
My personal preference is that no app is better for me than being able to root my phone. I don't play mobile games that want to keep you from cheating and I don't even care about Google Pay, which I'm not sure has legitimate need to block root either... they just do it to keep banks happy, which as I suggested, I think they're full of BS.
The only thing more BS than this no-root nonsense from app companies is when carriers do it by locking bootloaders. I try to re-use my phones for as long as possible and without the ability to limit battery charge, the batteries swell and die quickly, every time. It's good news that Google added code where phones plugged in constantly will limit charge automatically... but I doubt there is a way to trick it from the outside. (without root)
Hmmm. Maybe lazy programming, but I'm not ready to change my Bank so I can root my phone
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
jljtgr said:
Back to the topic... I don't think I'm ready to trust the /sys/devices/platform/soc/soc:google,charger/charge_stop_level method. Several times I found my phone at low battery and not pulling any current from the USB port, but not losing charge either. It had put itself into a stalemate where it was stuck below 10% for hours. Resetting the value from 60 to 100 allowed charging again. The battery charge limit app never really caused this. So I guess I'm going back to the full app method.
Click to expand...
Click to collapse
I would like to definitely solve this problem I have been struggling with for years. What did you do, can you please help me? It seems extremely similar to what you wrote here.
I have been using battery charge limit on my Xiaomi Mi Mix (1st model) since android 7.1 (lineageos) (and I might have messed with a couple files, not sure, can't remember). When updating to android 9 (lineageos) couple years ago I started having the problem you described. Also I notice sometimes I plug the phone at safe levels such as 35% or 60% and it doesn't charge same thing. Also it only charges with certain chargers and not others.
Earlier today it was 11% battery, could not boot android, didn't charge. I got the idea for the first time to try booting in TWRP (on+volume up buttons) and it immediately started charging at full speed. So there's obviously nothing wrong in the hardware, it's software or just config.
I would like to definitely solve this problem, but I don't understand exactly what you did on your side to fix it. Please reply or message me if you have any suggestion Thank you!

Categories

Resources