Battery Level stuck at 20%? - Google Pixel 3 Questions & Answers

Hello, there has been a problem with my pixel 3 since yesterday where my phone seems to be stuck at 20%. I have tried various methods to fix this which include:
Draining till phone shuts off then charged overnight while off
Flashed stock rom multiple times by cmd and by google's browser flashing
Opened the phone to unplug and plug battery connector
Various calibrator apps, rooted and tried resetting sys/power supply/battery/batt-reset-soc (however i dont think this was usable at all)
HOWEVER... I can see true battery stats in TWRP. I have no clue what's going on. can anyone help me please? The problem might have initially started when i rooted or unrooted magisk before everything tho i've never experienced this and can't really understand how and why this is happening since twrp shows correct figures. BTW the stats in battery configure apps are always the same, 20% 26.2C temp 3.69V.

I am experiencing the same issue. A week ago, after a random reboot the battery level got stuck at 57%. I was on rooted Android 12 since November and flashed the Factory Image released in January a few days before the issue.
Since I was having a bad Android 12 experience anyway (random phone freezing, restarts of Google Maps on my Android Auto car stereo, Spotify being killed in the background when taking photos), I reverted to Android 11 two days ago, but unfortunately the battery issue persists.
For now I am using a Tasker Run Shell command to parse /etc/sys/class/power_supply/battery/capacity, which returns the correct percentage.

marcnetic said:
I am experiencing the same issue. A week ago, after a random reboot the battery level got stuck at 57%. I was on rooted Android 12 since November and flashed the Factory Image released in January a few days before the issue.
Since I was having a bad Android 12 experience anyway (random phone freezing, restarts of Google Maps on my Android Auto car stereo, Spotify being killed in the background when taking photos), I reverted to Android 11 two days ago, but unfortunately the battery issue persists.
For now I am using a Tasker Run Shell command to parse /etc/sys/class/power_supply/battery/capacity, which returns the correct percentage.
Click to expand...
Click to collapse
I looked up the file in root explorer and it actually does show the correct percentage when opened with text editor. How do I use this command in tasker. I tried but i couldn't make it work with the code. Can you show me some instructions on how to do so?

Arslan.KitKat_bro said:
Can you show me some instructions on how to do so?
Click to expand...
Click to collapse
Sure! I think the info that was missing, is that you need cat to parse the file. The actual command of the Run Shell action would then be cat /etc/sys/class/power_supply/battery/capacity and you can store its result in a variable.
Anyway, here is the TaskerNet link to my project. It reads the battery capacity and (what I believe is the correct) temperature every two minutes and updates a notification that shows the approximate battery level as its icon. The original (wrong) battery icon in the status bar is hidden. Also, a thin line visualizes the battery percentage just below the status bar.

marcnetic said:
Sure! I think the info that was missing, is that you need cat to parse the file. The actual command of the Run Shell action would then be cat /etc/sys/class/power_supply/battery/capacity and you can store its result in a variable.
Anyway, here is the TaskerNet link to my project. It reads the battery capacity and (what I believe is the correct) temperature every two minutes and updates a notification that shows the approximate battery level as its icon. The original (wrong) battery icon in the status bar is hidden. Also, a thin line visualizes the battery percentage just below the status bar.
Click to expand...
Click to collapse
Thank You so much. I can't believe I found a workaround for this. I really liked pixels but seeing this happening in their os will really impact how much I would recommend pixels to others. I really can't thank you enough!

Arslan.KitKat_bro said:
I really can't thank you enough!
Click to expand...
Click to collapse
No problem, glad to be able to help!
Arslan.KitKat_bro said:
I really liked pixels but seeing this happening in their os will really impact how much I would recommend pixels to others.
Click to expand...
Click to collapse
I haven't been able to figure out yet, if this issue is really OS-related. A few days ago, my USB connection got unstable, too. This happened multiple times before, but cleaning out the USB port always helped. Unfortunately not this time, although I even used contact spray. In comparison to earlier issues, where the USB connection worked or just didn't work, now it just randomly toggles its connection state. I'm not sure yet, if I should swap the USB port (and the battery) or just accept, that my hardware keeps failing and look for a new device.

Related

problem with battery indicator and charging

I welcome. I have the very untypical problem.
It all started with it around the phone started showing that the battery is unloaded, in spite of it around was loaded up. I thought cool it apparently a battery fell down. I bought new and unfortunately the same. Since the battery almost on max is loaded up the rally is loading it for moments and then loading is turning off. However an indicator of loading up on the nought and an announcement of the weak battery are demonstrating the system and it is disconnecting. I thought ok I will make hard reset and most probably he will help, however it turned out around not. Yeah rally loaded WM6 together with new ROM and unfortunately the same old story. I will still add around after this moment when is loading and an orange diode is shining and the indicator is showing the battery around loading is when he is finishing an indicator is appearing around empty battery and with stamp 'x'.
I hope around somebody here will help me. And perhaps somebody knows where in the register it is possible to change placing so that the system doesn't download details about loading the battery up and he wasn't mutually exclusive
Say what?
Can you please ask someone to translate so we can at least understand what your problem is?
ok I write it with my words.
When I switch on my phone battery indicator in main screen shows zero and sign '!' and the telephone switch off itself.
When I put usb cable or telephone battery charger and switch on my phone the phone charging about 10-20 seconds and after that battery indicator shows empty battery and sign 'x'. The phone still work but the indicator in Settings/Power Managment/Main Battery is completely empty.
I have new battery so battery is ok. I made hard reset and changed software from wm5 to wm 6.1 and the battery still isn't charging.
I hope that it is undertanding now.
Has the battery indicator ever worked while you've owned the phone, or is this something that has happened since upgrading your ROM? Having said that, this sounds more like a hardware issue to me. Try taking the battery out and cleaning the pins on the phone. If you've tried different ROM's, I don't believe it's a software issue and after a quick search of the forum, I haven't found anybody with a similar issue, which I would expect to if it were software related
The battery indicator worked normally and one day it stopped working. I upgraded ROM becouse i thought that it help.
I have second question. Whether it is possible to change the register this way so that the starting system doesn't read the level of battery charge out.
I have the same problem. Did you solve it?

[Q] Battery Life

Alright, I think I might be having some issues, and I was wondering what your battery life like?
I charged mine earlier this week, used it a little bit after I pulled it off the charger and have barely touched it since. This morning when I went to go and watcha Youtube Video, my tablet was completely dead. Now I used it about 2 days ago and it still had over a 40% charge. To me it seems odd that the tablet drained over 40% just sitting there for 2 days.
I checked the battery manager for some statistics and the most battery draining services were the Screen at 34%, Tablet Idle at 22% and Android OS at 18%. I am not sure if this is normal for the Shield Tablet or if I might have something stuck running in the background or might even have a defective unit.
So I guess my question for you guys other than what your battery life is like, is do you think this is normal? Or should I try a factory rest? Any other suggestions? Returning it to BestBuy is an option as I bought it about a week and a half ago.
Thanks for the tips
menendez1293 said:
Alright, I think I might be having some issues, and I was wondering what your battery life like?
I charged mine earlier this week, used it a little bit after I pulled it off the charger and have barely touched it since. This morning when I went to go and watcha Youtube Video, my tablet was completely dead. Now I used it about 2 days ago and it still had over a 40% charge. To me it seems odd that the tablet drained over 40% just sitting there for 2 days.
I checked the battery manager for some statistics and the most battery draining services were the Screen at 34%, Tablet Idle at 22% and Android OS at 18%. I am not sure if this is normal for the Shield Tablet or if I might have something stuck running in the background or might even have a defective unit.
So I guess my question for you guys other than what your battery life is like, is do you think this is normal? Or should I try a factory rest? Any other suggestions? Returning it to BestBuy is an option as I bought it about a week and a half ago.
Thanks for the tips
Click to expand...
Click to collapse
I'd try to manage background applications with Greenify. You'd have some more options like BootManager if you have root. Don't worry, root will disappear upon factory reset if needed for returns. Besides those two controlling agents, there is a flashable MOD I discovered recently called ComoDose 3.5 here on XDA. With all three, my S3 hits the bed as soon as I turn off the screen, boosting idle time tremendously. You'd need to go a step further and install a custom recovery to try ComoDose; if you have any issue and need to return, there is already a guide here on how to get rid of it. So don't worry about that!
Most likely, your device just isn't going to sleep. I don't think it's unusual.
Settings > Shield Power Control > Apps tab:
Let Nvidia Optimize everything. It seems to end up saving me a ton of battery life. Using apps that don't need much power (like Cheezburger, G+, Udemy, Play Store, etc...), the Nvidia governor seems to handle the clocking very well. Then it cranks it up as needed with games (I bought a few that are listed in the Shield games thing).
You just need to remember to go in and optimize new apps that you install. By default it doesn't put a governor profile on them, so the apps just run as Android tells them to, instead of how Nvidia profiles them.
I've been charging my Shield Tablet about once every two days. That's maybe an hour of gaming a day, and a lot of web browsing, and various forum reading, and whatever other random stuff I do during the day.
The pre-installed app Camera Awesome installs a bunch of corrupt jpg's to internal storage. While they are their it causes the "media server" service to keep running constantly in a loop. Was so bad that while plugged in, my battery went down while actively using the tablet. Since I removed those corrupt jpg's the battery has been fine. So step 1, check for corrupt jpgs.
Harfainx said:
Settings > Shield Power Control > Apps tab:
Let Nvidia Optimize everything. It seems to end up saving me a ton of battery life. Using apps that don't need much power (like Cheezburger, G+, Udemy, Play Store, etc...), the Nvidia governor seems to handle the clocking very well. Then it cranks it up as needed with games (I bought a few that are listed in the Shield games thing).
You just need to remember to go in and optimize new apps that you install. By default it doesn't put a governor profile on them, so the apps just run as Android tells them to, instead of how Nvidia profiles them.
I've been charging my Shield Tablet about once every two days. That's maybe an hour of gaming a day, and a lot of web browsing, and various forum reading, and whatever other random stuff I do during the day.
Click to expand...
Click to collapse
Just did that this morning while it was on the charger, hopefully it makes a difference like it did to you.
daeymon said:
The pre-installed app Camera Awesome installs a bunch of corrupt jpg's to internal storage. While they are their it causes the "media server" service to keep running constantly in a loop. Was so bad that while plugged in, my battery went down while actively using the tablet. Since I removed those corrupt jpg's the battery has been fine. So step 1, check for corrupt jpgs.
Click to expand...
Click to collapse
Now that you mention it, I did have the media server service running and taking up battery. I guess I will delete the pictures I have and replace it with a different (Google) Camera. Thanks for the tip.
daeymon said:
The pre-installed app Camera Awesome installs a bunch of corrupt jpg's to internal storage. While they are their it causes the "media server" service to keep running constantly in a loop. Was so bad that while plugged in, my battery went down while actively using the tablet. Since I removed those corrupt jpg's the battery has been fine. So step 1, check for corrupt jpgs.
Click to expand...
Click to collapse
Its still too early to call but I think you hit the nail on the head with this one! I wasn't getting drain with the screen off but it was draining really fast with the screen on. Thank you so much for this suggestion of deleting these corrupt files because right now my battery is finally draining like it should.. nice and slow. Thank You!!
dukehazard77 said:
Its still too early to call but I think you hit the nail on the head with this one! I wasn't getting drain with the screen off but it was draining really fast with the screen on. Thank you so much for this suggestion of deleting these corrupt files because right now my battery is finally draining like it should.. nice and slow. Thank You!!
Click to expand...
Click to collapse
How is your screen on before and after deleting the corrupt files? Would you mind posting screens or stats
Sent from my GT-I9505G using XDA Free mobile app
daeymon said:
The pre-installed app Camera Awesome installs a bunch of corrupt jpg's to internal storage. While they are their it causes the "media server" service to keep running constantly in a loop. Was so bad that while plugged in, my battery went down while actively using the tablet. Since I removed those corrupt jpg's the battery has been fine. So step 1, check for corrupt jpgs.
Click to expand...
Click to collapse
Hi,
Where exactly on internal storage I can find those corrupted files?
I would like to give it a try.
Thanks in advance.
pghostek said:
Hi,
Where exactly on internal storage I can find those corrupted files?
I would like to give it a try.
Thanks in advance.
Click to expand...
Click to collapse
Android/data/com.smugmug.android.cameraawesome
Check any sub folders in that folder as well.
There are apps you can get which will scan your device for corrupt image files too.
I'm not an android expert, so apologies if I say anything out of turn.
I think the .jpegs appeared to be corrupt as some of them might have been for the 'picture frames' of the camera awesome 'special effects'. Thus they are 'transparent' in the centre of the image.
I had some in the Android/data/com.smugmug.android.cameraawesome/downloads directory.
I read an article, which said if you add an empty .nomedia file to the directory it should stop the media service from reading from it.
Would adding that file not be enough to stop the media service, rather than deleting all the files?
Silverfox476 said:
I'm not an android expert, so apologies if I say anything out of turn.
I think the .jpegs appeared to be corrupt as some of them might have been for the 'picture frames' of the camera awesome 'special effects'. Thus they are 'transparent' in the centre of the image.
I had some in the Android/data/com.smugmug.android.cameraawesome/downloads directory.
I read an article, which said if you add an empty .nomedia file to the directory it should stop the media service from reading from it.
Would adding that file not be enough to stop the media service, rather than deleting all the files?
Click to expand...
Click to collapse
I had similar problem. I deleted all the jpg files, infact deleted the entire folder,Android/data/com.smugmug.android.cameraawesome/downloads directory. However, everytime i opened camera app, the folder generated itself (check in ES file explorer). Better option is to disable the app (you cant delete as its a system app) and use google camera or any other camera of choice. My battery life has increased (screen on and off) i get about 4 hours of screen on time (lot of browsing, drawing, you tube and 40 mins of gaming). Its not as much as others are getting. Also i am not rooted. On a side note Lollipop is coming in couple of days, it should alleviate some battery issues.''
I have a problem with battery life. Was at 100% this morning 11am, now it is 3h20 pm and there is only 58% remaining.
The problem is it was in my bag between this morning and now and it has not been used... WiFi is set to be off while screen is off, and is not available for location when wifi deactivated. Nvidia camera is disabled. I will do a factory reset to see how it goes...
If I go to battery menu : it show only one line : screen, 1%, which of course is impossible.
EDIT : ok, it is unusable with such battery life... Since I bought it yesterday, I decided to do a factory reset and to NOT restore anything from other devices.
I'm currently charging it and will make a report later.
Judge584 said:
I have a problem with battery life. Was at 100% this morning 11am, now it is 3h20 pm and there is only 58% remaining.
The problem is it was in my bag between this morning and now and it has not been used... WiFi is set to be off while screen is off, and is not available for location when wifi deactivated. Nvidia camera is disabled. I will do a factory reset to see how it goes...
If I go to battery menu : it show only one line : screen, 1%, which of course is impossible.
EDIT : ok, it is unusable with such battery life... Since I bought it yesterday, I decided to do a factory reset and to NOT restore anything from other devices.
I'm currently charging it and will make a report later.
Click to expand...
Click to collapse
EDIT 2: time to RMA. Yesterday : a factory reset, no google account configured and charged at 100% , airplane mode. 8hours later ( this morning) , shield shutdown itself during night. So bad.
Judge584 said:
EDIT 2: time to RMA. Yesterday : a factory reset, no google account configured and charged at 100% , airplane mode. 8hours later ( this morning) , shield shutdown itself during night. So bad.
Click to expand...
Click to collapse
Are you on lollipop or kitkat?
Lollipop. Is that the problem ?
Judge584 said:
Lollipop. Is that the problem ?
Click to expand...
Click to collapse
I Still dunno. I'm waiting to be able to flash the kitkat firmware. I bought shield 3 days ago registered to nvidia dev site just today. Let's see
I bought it Wednesday and received 4 OTA updates without registering to dev site
Judge584 said:
I bought it Wednesday and received 4 OTA updates without registering to dev site
Click to expand...
Click to collapse
So it worked as intended lol I need to be registered and agreed to dev site to be able to download the firmwares
But do you have same problem as me?
I've not had any battery issues and I'm running Lollipop.
I have set my screen brightness to Auto (Screen On uses up a lot of juice).
Using the "Shield Power Mode" I've set the "Processor Mode" to "Optimise".
Under the Advanced Wifi options I've turned off "Network Notification", I've left "Scanning Always available" on, and set "Keep Wifi on during sleep" to "Only when plugged in".
Finally in Android/data/com.smugmug.android.cameraawesome/downloads I've made sure there is the empty .nomedia file.

[Q] Weird Battery Drain + Indicator Problem

I'm not sure if it's more appropriate to post here
or on the custom ROM forum itself, but here's my battery issue:
Issue: Abnormally fast battery drain. My battery would
be fully charged, and almost immediately start draining until
it'd show 1% within 2 hrs. Screen would be off mostly (normal
use).
Been on a custom ROM since January 2017 (crDroid) and have had no problems with it since,
except 3 days ago, when the problem first appeared.
Things that are ON: LTE data (or Wi-fi), Auto apps update on
Google Play Store (never been problematic before), Location,
Things that are OFF: Bluetooth, ScreenCast, Caffeine
When I check Battery in Settings, the numbers don't add up.
I'd have battery indicator at 70% for example, but Screen,
Android System, all other apps would add up to only 7%. So
that's a whopping 23% unaccounted for.
But here's the weird thing: it drains fast until 1%, then at 1%,
the phone is supposed to initiate automatic shutdown like it has before.
When this issue cropped up, the phone keeps going for about 6 hours
or so before shutdown is started. Checking Kernel Adiutor occasionally,
I'd see a much slower decrease in voltage which probably reflects
more accurately the power drawdown situation.
Things I've done:
-clear cache (both through File Explorer and TWRP Recovery)
-clear batterystats.bin
-calibrate battery after full charge/discharge (via Root Essentials,
which basically does the same thing as manually deleting batterystat.bin,
if I'm not mistaken)
-Resetting App Preferences via Setting/Battery
None of the above has worked. Any idea what might be wrong?
My device is a Zuk Z1, with a 4100mAh battery. It usually lasts me more
than a day on normal use, but as the attached pic shows, it's at 96%
yet without having used any apps yet, has only 2 hrs of juice left.
I've tried reflashing my ROM, wiping everything including formatting data
yet nothing has worked.
I'm a light user, as I don't play games or watch videos on my phone.
Neither do I use graphics-intensive apps. I haven't used processor-intensive apps
that require constant GPS (like Google Maps, Waze) since then.
Borat38 said:
I'm not sure if it's more appropriate to post here
or on the custom ROM forum itself, but here's my battery issue:
Issue: Abnormally fast battery drain. My battery would
be fully charged, and almost immediately start draining until
it'd show 1% within 2 hrs. Screen would be off mostly (normal
use).
Been on a custom ROM since January 2017 (crDroid) and have had no problems with it since,
except 3 days ago, when the problem first appeared.
Things that are ON: LTE data (or Wi-fi), Auto apps update on
Google Play Store (never been problematic before), Location,
Things that are OFF: Bluetooth, ScreenCast, Caffeine
When I check Battery in Settings, the numbers don't add up.
I'd have battery indicator at 70% for example, but Screen,
Android System, all other apps would add up to only 7%. So
that's a whopping 23% unaccounted for.
But here's the weird thing: it drains fast until 1%, then at 1%,
the phone is supposed to initiate automatic shutdown like it has before.
When this issue cropped up, the phone keeps going for about 6 hours
or so before shutdown is started. Checking Kernel Adiutor occasionally,
I'd see a much slower decrease in voltage which probably reflects
more accurately the power drawdown situation.
Things I've done:
-clear cache (both through File Explorer and TWRP Recovery)
-clear batterystats.bin
-calibrate battery after full charge/discharge (via Root Essentials,
which basically does the same thing as manually deleting batterystat.bin,
if I'm not mistaken)
-Resetting App Preferences via Setting/Battery
None of the above has worked. Any idea what might be wrong?
My device is a Zuk Z1, with a 4100mAh battery. It usually lasts me more
than a day on normal use, but as the attached pic shows, it's at 96%
yet without having used any apps yet, has only 2 hrs of juice left.
I've tried reflashing my ROM, wiping everything including formatting data
yet nothing has worked.
I'm a light user, as I don't play games or watch videos on my phone.
Neither do I use graphics-intensive apps. I haven't used processor-intensive apps
that require constant GPS (like Google Maps, Waze) since then.
Click to expand...
Click to collapse
Have you tried flashing another ROM/going back to stock?
Freewander10 said:
Have you tried flashing another ROM/going back to stock?
Click to expand...
Click to collapse
Not yet. Am going to try an AOSP-based ROM later.
I've been deleting apps piecemeal, but have faile to pinpoint the culprit.
I have almost come to the conclusion that it's the ROM that's problematic.
But if that were the case, why haven't I had the same problem since
when I first flashed this custom ROM months ago;
and why is the problem reappearing when that same ROM is re-flashed now?
OK, I've flashed 3 other ROMs: Citrus-CAF, NucleaROM and stock, and the problem persists.
By doing the above, I've crossed out the possibility of it being the ROM. Neither is it the battery
itself, because it would've shut down by itself at 1%, yet at 1% I can last 6 or 7 hours of light use.
Anyone out there have any idea?
If you get the same results, the battery is trashed. Is it aftermarket?
WestCoastSunset said:
If you get the same results, the battery is trashed. Is it aftermarket?
Click to expand...
Click to collapse
The battery? No, it's the factory original.
It would not be unusual for a battery to fail in a month or two. I've had that happen to a couple laptops where I work.
WestCoastSunset said:
It would not be unusual for a battery to fail in a month or two. I've had that happen to a couple laptops where I work.
Click to expand...
Click to collapse
That would be pretty unusual for reputable companies. If ever it did happen in my case, perhaps it's a lemon batch.
Sadly, I bought this without warranty.
Not really, happens all the time in laptop world. Even with oem batteries.

Alarmclock works while Android is shutdown?

Hello Forum,
why does my alarm clock work while the phone is turned out? What is the name of this function and how can I turn it off?
I think it uses battery, because I charged my old phone (switched off, emergency phone) a week ago and now its empty.
Thanks
Peter
peterfarge said:
Hello Forum,
why does my alarm clock work while the phone is turned out? What is the name of this function and how can I turn it off?
I think it uses battery, because I charged my old phone (switched off, emergency phone) a week ago and now its empty.
Thanks
Peter
Click to expand...
Click to collapse
Hi, what phone do you have ?
I remember this was an issue for certain phones (but that was 6 years ago lol). Your phone must be really old !
And about the battery life when shut down, how long does it last usually?
Now for the upfront solutions:
Delete the alarm you sat up.
And if you have a removable battery on this phone, removing it would have a very good effect on battery life.
Have a good one
Its an Elephone P7000. I want to charge it and use it as a secondary phone. I turn it only on when my main phone has no battery. Last month I bought a new battery for this phone, on the battery is written "production date 2015". The battery last a whole day when the phone is turned on.
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
PS: When my Xiaomi phone if turned of, the alarm does not work.
peterfarge said:
Its an Elephone P7000. I want to charge it and use it as a secondary phone. I turn it only on when my main phone has no battery. Last month I bought a new battery for this phone, on the battery is written "production date 2015". The battery last a whole day when the phone is turned on.
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
PS: When my Xiaomi phone if turned of, the alarm does not work.
Click to expand...
Click to collapse
A battery life thread which may help is:
https://forum.xda-developers.com/showthread.php?t=1179809
PS: I have never heard of an android phone that respects alarms when the phone is off, as android is not running But I always wondered why not, since my previous non-smart phones all did.
This App analyses the energy consumption of Android and the Apps, but that is not my problem. My problem is that the charged phone loses energy while it is turned off.
And secondly I'm really interested what is running in the background while the phone is turned off. Is is a firmeware from Elephone? I removed the original Elephone rom and switched to Cyagenomod and then to Rublix. But original Bootloader and other Elephone stuff my still be there.
I asked in a german Android forum and they said it is the fastboot function. But I think this is only a possibility of Android to boot fast when is is wakened from the watchdog I'm searching. (That the alarm clock starts immediately and not minutes after the targeted wakeup time.)
peterfarge said:
This App analyses the energy consumption of Android and the Apps, but that is not my problem. My problem is that the charged phone loses energy while it is turned off.
And secondly I'm really interested what is running in the background while the phone is turned off. Is is a firmeware from Elephone? I removed the original Elephone rom and switched to Cyagenomod and then to Rublix. But original Bootloader and other Elephone stuff my still be there.
I asked in a german Android forum and they said it is the fastboot function. But I think this is only a possibility of Android to boot fast when is is wakened from the watchdog I'm searching. (That the alarm clock starts immediately and not minutes after the targeted wakeup time.)
Click to expand...
Click to collapse
Yes, when you flash a custom ROM, all you are really changing is the system partition itself and maybe the kernel, everything else from your original firmware is still there: e.g. bootloader, modem, etc, etc..
Fastboot has nothing to do with how quickly the device boots, fastboot is a bootable function/mode used to flash/manage the device using the adb/fastboot software while booted into fastboot mode. Some devices have a feature that allows for fast booting, but that is a different animal than fastboot.
Your device has an internal clock the same as a PC does, that is how a PC keeps correct time even when the system is powered off and still shows the correct time when you boot the system. As for what is causing the battery to die even turned off, that may be a different issue than the power used by the internal clock.
All of my old devices lose charge after sitting in a draw for some time without being used, it isn't really an "issue" or problem, it is just the nature of the beast. Batteries do not store power indefinitely.
You can find out more about lithium-ion instability and the particulars of their construction and how they actually work if you do some google searches on the subject.
Sent from my SM-S767VL using Tapatalk
peterfarge said:
And secondly I'm really interested what is running in the background while the phone is turned off.
Click to expand...
Click to collapse
Are you rooted? running Magisk?
The smartphone is rooted with SuperSU.
This watchdog is more than a Bios clock. It wakes the smartphone at a given time. So the android system configures this background watchdog somehow. Maybe there are more things that it can do?
My Motorola Moto E (LineageOS) starts always with a wrong time. (WhatsApp is complaining about it at the start) So there seems to be no watchdog.
peterfarge said:
I'm really interested what is running the whole time in the background when Android is turned off. Is it some kind of BIOS? Is it the bootloader? Can you give me the name of this "program"?
Click to expand...
Click to collapse
peterfarge said:
The smartphone is rooted with SuperSU.
Click to expand...
Click to collapse
OK, if you are rooted, I would try running a boot-script that logs what is running on your phone every X minutes. If your lucky, the boot-script will log while the phone is "OFF".
something like the following maybe:
Code:
#!/system/bin/sh
top >> /sdcard/runnig_processes.log;
You may need to find a path that is actually mounted in your "OFF" state.
Also, I wouldn't keep this as a permanent thing, simply a test.
I dont think that this works. The uptime shows that the smartphone is running since 6 hours. I think if I put the script somewhere in the android system it wont be executed while android is turned off.
I have done some search. It seems that the P7000 has a Real Time Clock (RTC) in the MT6752 SOC. This chip can be configured to wakeup Android. I can see it at "cat /sys/class/rtc/rtc0/name".
There is also the charging screen despite the phone is turned off. The SOC can do a lot of things when android is not running.
peterfarge said:
I dont think that this works. The uptime shows that the smartphone is running since 6 hours. I think if I put the script somewhere in the android system it wont be executed while android is turned off.
I have done some search. It seems that the P7000 has a Real Time Clock (RTC) in the MT6752 SOC. This chip can be configured to wakeup Android. I can see it at "cat /sys/class/rtc/rtc0/name".
There is also the charging screen despite the phone is turned off. The SOC can do a lot of things when android is not running.
Click to expand...
Click to collapse
It does sound like android is not running on your phone for the phone-off-alarms, since it has a real time clock (I didnt read it, sorry).
As for the charging animation, all my phones have that too, but I think that is only the bootloader and ONLY while charging. ie connected to power, so discharging isn't an issue.
I suggested the above, as waaaay back when I modified my first phone, when I added a bunch of boot scripts that logged heavily, I *think* i was surprised when I noticed once (its back in gingerbread days) that I had logs from the start up of when I turned it off. But that was now many moons ago. It was just an idea, that shouldn't be too hard to test, even though all you have said points to it failing. And now that I think of it, the charging animation on that first phone I had, was actually PNG images (as animation frames) sitting on the android file system path; but again, that was during charging, not completely off.

Question My battery drain is insane!

Hello everyone, I'm in trouble.
22 Ultra is simply eating battery at indescribable levels. Yesterday we went on a trip from work, I left my home with 100%. During the day I did not touch the phone, a bit of a camera but beyond that really nothing. My battery was about 40% after about 3 hours, with no screen use at all! On the other hand, a friend at work with Xiaomi came out with 100% and after 3 hours was on 85, and he did touch the phone here and there.
I don't know how that makes sense, and it's no longer clear to me what to do to solve the problem. I debloat, deleted and disabled a number of irrelevant apps but still, the battery is being eaten. How can I solve it? Please help me!
Draining battery so fast, 20% per hour while idle is not normal, so you definitely have a problem.
It looks that there are two possibilities here:
- Battery malfunction
- Some active process in the background that is using lots of processor power constantly.
If battery is damaged / not working properly, the only solution is to replace it. Still, this doesn't look like a case of duying battery.
If you have some persistent process running in the background that you can't get rid of by debloating, it can't be stopped by restarting the phone, and its not visible in the battery usage section, i would say that factory reset is the most effective option here, since you stated that you tried to deal with it in a various ways already.
You could also wait a bit until you get chance to update to OneUI 5 / Android 13, which should solve your problem, if it's software related.
Hope that you will find solution soon
draskome said:
Draining battery so fast, 20% per hour while idle is not normal, so you definitely have a problem.
It looks that there are two possibilities here:
- Battery malfunction
- Some active process in the background that is using lots of processor power constantly.
If battery is damaged / not working properly, the only solution is to replace it. Still, this doesn't look like a case of duying battery.
If you have some persistent process running in the background that you can't get rid of by debloating, it can't be stopped by restarting the phone, and its not visible in the battery usage section, i would say that factory reset is the most effective option here, since you stated that you tried to deal with it in a various ways already.
You could also wait a bit until you get chance to update to OneUI 5 / Android 13, which should solve your problem, if it's software related.
Hope that you will find solution soon
Click to expand...
Click to collapse
I want to keep the factory reset as the last option....
Every single app that I don't need at the background I disabled from running in background.
Deleted
maor23 said:
I want to keep the factory reset as the last option....
Every single app that I don't need at the background I disabled from running in background.
Click to expand...
Click to collapse
Try to wipe your system cache.....it won't do a factory reset but might solve the issue while keeping your phone as it is.
Volume UP button along with the power button until you see Android screen
Scroll down with volume down until you reach wipe system cache and reboot
sometimes, it won't show up while you press the buttons....in that case, connect your phone to your PC/Laptop with any USB C cable and then do it.
Second solution, you can try Samsungs App Booster.....get an apk from the net. It generally helps as well.

Categories

Resources