[Q] Problem whit airplane mode - Xiaomi Mi 4

Hi, I just bought a Mi4, and i'm having problems with the battery on airplane mode, battery goes down about 12-15 % in 8 hours in airplane mode, wich seems too much.
-I've done a clean install of many roms, now i have stock 5.1.23
-I've killed second plane proccesses using greenefy, halt apps with Titanium (mi frameworks)
-I've done a clean fastboot install, without the sim card, with the same battery consuption.
-After checking WakeLockDetector (WLD), it says there is no second plane app consuming battery. Also checked it using Trickster MOD, confirming the phone is in Deepsleep, but anyway the battery is consuming the same.
-I've done a battery calibration with Battery Calibrator.
My phone is black, 16 GB, i've read other users with the same problem, some people say it could be due to the proximity sensor.
Anyone could help? Any idea or way to know what is consuming the battery and how to stop it?
Thanks in advance.

It is a mi4 bug.

Install greenify to increase battery life. This software will close unnecrssary running apps in lock mode.

Related

LineageOS is here!!! [ROM MM]

LineageOS is here!!!
The title is enough, I think,
I haven't tested it yet but.... the first LineageOS ROM for our beloved Photon appeared !
https://download.lineageos.org/xt897
I've been 2 days using this rom on my xt926 so far is good and fast
Thanks, do we have to 'clean-install' this?
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
palmwangja said:
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
Click to expand...
Click to collapse
gapps package which removes CyanogenSetupWizard/LineageSetupWizard is broken and shouldn't be used.
There's no such issue with opengapps nano package which I use.
you can avoid wiping if you "hack" a bit.
I had only to defeat the check (adding the key to htmlviewer in the package.xml (or something like that)) and do a "pm grant com.android.systemui android.permission.READ_CONTACTS" via adb (to enable the logon screen).
Additionally, I did something like
for i in /data/app/*; do
pm install -r $i/base.apk
done
(could have small errors, is two weaks sine then ) to fix the other permissions problem (most with network status access)
It works apparently
Upgrade done almost flawlessly from LL resurrection remix to Lineage OS 13
Few apps had permission problems, i fixed it just restoring the app (app only, no data) using titanium backup.
Anyway I went back to RR given I like it more, and I can't see any real improvement on MM over LL
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
sc0ty said:
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
Click to expand...
Click to collapse
Have you checked if the CPU is entering deep sleep? My phone usually manages > 80% time in deep sleep. Of course that would depend on usage. Previous ROMs (nearly all) virtually never entered deep sleep. This one wallows in it.
If I leave it over night (clearing stats at the beginning) it gets very close to 100% I personally use CPU Spy, but there are many apps that would show you if you dont already have one.
I've installed CPU Spy, will see the stats after the night. I've also installed Greenify and I think battery consumption is better now, so I suspect one of my apps was preventing my phone from going to deep sleep.
According to CPU Spy my phone never goes to deep sleep when in airplane mode. I've checked this also with clean rom installed, without gapps or any other apps, just CPU Spy. I'm gonna open ticket in LineageOS JIRA.
sc0ty said:
According to CPU Spy my phone never goes to deep sleep when in airplane mode.
Click to expand...
Click to collapse
so, when its not in airplane mode, it does go to sleep?
I just tested mine, and even with a ton of apps, Xposed, Viper, Magisk etc etc it still went to sleep quickly. This ROM for me wallows in deep sleep. Previous ROMs hardly visited deep sleep if at all.
DiamondJohn said:
so, when its not in airplane mode, it does go to sleep?
Click to expand...
Click to collapse
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
sc0ty said:
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
Click to expand...
Click to collapse
Sorry, reading my post I guess was not clear. My phone DOES go to deep sleep when in airplane mode. XT905
============ edit
oh, and almost forgot. I am using Pico Gapps, and turn off auto updates and notifications on play store updates.
Hello, it looks like I'm experiencing the same problem. Battery drain on my photo Q running the last lineage os 14.1 (android 7.1.2).
When on airplane mode the battery drain disappears (even if I can't consider this phone a battery beast).
It seems curious to me, I was imagining that in all these months the problem was corrected.
Do you guys have a suggestion? Many thanks in advance
The thing is that my phone seems to suffer from battery draining (when not on airplane mode) even when running sailfish OS (flashed over cyanogenmod 11).
Could then be possible that it has some kind of hardware problem connected to the gsm/radio part? Except for the battery consumption It works fine tough.

[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.

Battery draining very fast even on standby please help

Recently all this is happening
Make sure you do not have unnecessary apps running in background. Try installing amplify or any other apps for hibernating apps.
I also have same problem. I rooted & installed custom rom, still problem continuous, any suggestions?
Try installing flyme 6 rom and have low power mode on while charging and the battery stands for about 4 hours of continuous usage that a normal youth does
I found that device is awake in most of the time even screen is off. Without internet, data, GPS, no wifi scanning or any.. Check it in battery stats window.
Previously I own some snapdragon devices and I have not seen anything like this before.
Any suggestions?
Sent from my LeTV x500 using Tapatalk
Did you have installed any custom ROM?
When you install any custom ROM, the battery database need to be updated. If you have installed any custom ROM then you should synchronize your battery after charging fully your battery, and yeah you need root access for that.
I hope you know how to root your Le 1s. You can download some Root Battery synchronize applications from Google Play Store.
If you're using Stock ROM, then you should flash the Stock ROM from fresh, using SP Flash Tool. Don't forget to take a backup of your NVRAM.
battery draining very fast, my experience
My experience with this issue, I changed the scaleview mode from standard to zoom. Now, to added up extra 3-4 hours backup.
Go to settings>display>scaleview>zoom
Restart.

[Fixed] Standby battery drain

Hello everyone!
So this thread is for those guys that are still having the standby drain even after trying everything and got no help.
My Device Is not Rooted​Since last 2 weeks my device was having super standby drain and I couldn't help that.
First I thought that it was due to the battery wearing out. But I had this phone(exynos version) for around eight months and that is not enough time for the battery to drain out fast. So I started looking for the fixes in the xda threads but none of them had a mass effect on what i was suffering from.
Then I read about that app named the "Better Battery Stats".
https://play.google.com/store/apps/details?id=com.asksven.betterbatterystats&hl=en
I used this app to monitor the usage that was being done by different apps.
Most of the battery i.e 61% was being consumed by the apps that were running in the background. And the second big consumer was the android system. So as was mentioned in most of the posts what I tried.
1) Settings> Display> Resolution> Fhd to hd
2)Settings> Device Maintenance> Battery> Save Power and All apps put into always sleeping apps.
3)Setting> Connections> Location> Google Locaation History and disabled it.
4)AOD Disabled.
5)Sync Disabled.
6)Wifi> Advenced> Keep wifi turned on while sleep and set it to never.
7) Reset> Reset network settings
8) Boot into recovery and wipe cache patition
9) Reset factory data(Wipe everything).
And after doing all these steps nothing much changed my battery life since when i after resetting my phone again updated all apps from play store and resetting battery got an SOT of around 3 hours.
Then I again started searching for the problem.
I installed the accuBattery app from play store.
https://play.google.com/store/apps/details?id=com.digibites.accubattery&hl=en
And saw that phone was not entering deep sleep for hours that was causing the standby drain!
The major reasons for the drain were.
1) TOUCHWIZ HOME!
2) Google Chrome.
3) Facebook app.
To fix that I applied Lawnchair as my default launcher.
set the theme to dark. Disabled the location permission in the facebook app. And disabled google chrome.
Other settings that also helped were
Change the resolution to hd. Disable google location history.
And boom.... It worked Like a Charm....
Now to add an extra something to the battery life i switch to MID Power Saving mode. That Also helps alot when phone is not being used as it stops background data usage by apps.
Now the average sot that i get from my phone is around 6 to 7 hours.
And the phone sleeps like a baby. 5% Drain in 10h and wifi was on for the whole night. Deep sleep for 9h 41m.
PS: I use most of the time my phone for gaming and heavy usage.
Hope this will work for you guys too.
Screenshots Are attached for the proof!!
Thanks for this man
How are your notifications? I'm having a lot of trouble with delayed notifications, emails/messenger/etc just wake up when I take the phone and I don't even have to wait more than 5-10mins for what seems to be doze to kill everything.
I get whatsapp calls that I miss because the phone never receives it.
And STILL my battery life is far from great.. borderline bad I'd say. So sad
In settings go to device maintenance and hit battery you'll see an option for "always sleeping apps" enter any apps you don't want to run in the bsckground, which will probably be most of them. Saves a lot of data and a lot of battery.

SNS_SMD and RMNET_DFC wakelocks

Greetings, I have a problem with constant wakelocks on my MI11i phone since the day I bought it. Those wakelocks drain battery by 30% overnight, but also cause increased drain during the day in standby too since they instantly kick in as soon as the phone is locked, overall resulting in poor battery life. Even thou I am not an advanced user and has no need of it, I went so far that I completely factory reset the phone(this was the 2nd time), then reflashed new recovery and new official ROM to see will that sort the issue, then for a good measure I also rooted it with TWRP and Magisk. I tried underclocking the cpu to the lowest but it makes no difference while in standby since obviously that isn't the case. I tried using icebox but there were no processes that had SNS or RMNET in their names, so I just froze some analytics apps. Both wakelocks are gone as soon as I turn on the airplane mode or switch to wifi. Any app that can help me freeze those or edit something in kernel?
I found a rom that fixes the wakelock, listed here https://miuiflash.com/roms/miui-csx/alioth/miui-csx-v13-0-8-0-stable-alioth
But i couldn't find a way to contact the author for more info can i fix the kernel myself

Categories

Resources