Skip to main content

Android, no deep sleep problem: SOLVED.



In the last few weeks I noticed a heavy battery drain on my Galaxy Note 3, which has always been perfect battery-wise.
After further inspection I noticed that the phone stopped to go to "deep sleep" when it was connected to my home WiFi.
I even banned my phone from my LAN, just to exclude any external cause.
Nothing changed.
I checked the wakelocks and didn't see anything "strange".
After a few days of inspecting and testing, I found nothing.
But that nothing, meant something: no application was to blame.
Apparently it was the O.S.
I didn't factory restore my phone, because I "sensed" that restoring the backups I may be facing the same problem again.
Excluding the apps, and after checking all settings (and finding nothing was wrong) ,and thinking "out of the box" I came with a "stupid" theory:
what if a bug or a glitch messed up some internal settings?
What if one of my many tests launching "actions" (using activity launcher) saved something wrong somewhere?

Well, I then did this test and...guess...it worked!
My phone isn't insomniac anymore and the battery lasts 3 days on standby and almost 2 days on a medium usage.

And here we go with the simple solution that worked for me.
It may do nothing to you if you have other issues,
but it's worth a try.

Connect the phone (any android phone, because this problem has been reported on many different handsets) and, from your computer, use ADB as follows:

adb shell pm clear com.android.providers.settings

adb reboot

That's it.
You will have then to setup again the main settings only (lock and home screen images, basic customizations, etc)

Comments

  1. This procedure just revived a Note3 which was upgraded to lollipop and had a very high power consumption and lags.

    ReplyDelete

Post a Comment

Popular posts from this blog

TP-LINK Configuration file encrypt and decrypt.

Here we go! TP-Link is another company that thinks that security by obscurity could ever work. If you "backup" the configuration from most TP-Link routers, you will get a .BIN file which is "encrypted". Use this utility below, to decrypt it (so you can edit it) and encrypt it again. Have fun. Drop files here or

Powerline Ethernet fun and secrets.

Many 200 Mb/s powerline adapters nowadays are based on the INTELLON 6300 chipset. Despite what can be thought looking at them, they are all using the same hardware and firmwares. I heard many people with Netgear XAV101 or Linksys PLK 200 or PLE 200 having problems after firmware updates and many other people with other brands having much more problems because of lack of support or configuration/upgrade utilities. So let me explain a few things I learnt studying them. Many of 200 Mb/s powerline ethernet adapters follow the "HomePlug AV" standard. (85 Mb adapters use HomePlug 1.0 standard which is completely different). This standard uses ethernet broadcast packets using the HomePlug AV protocol. The interesting thing is that their firmware is made of two different parts: a .PIB file (Parameter Information Block) and a .NVM file (the code itself). In the P.I.B. there are many interesting things: The branding (mac address, device name, etc) and the tone map. I test

Your own CORS ANYWHERE proxy on CLOUDFLARE

Hello again! Many of you probably hate as I do CORS because it hinders the very nature of internet, which is SHARING. There are some services to circumvent this commercial  restriction, one of these is the famous "cors anywhere". So yesterday I decided to make my own and allow you to make your own in only 2 minutes. To do so you just need a cloudflare account (can be set up in 1 minute). The you can upload my worker on it and have your personal very fast cors proxy! So, enough talk, just head to:  https://github.com/Zibri/cloudflare-cors-anywhere The is also a demo online at: https://test.cors.workers.dev Enjoy! Zibri