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

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 tested many firmw…

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

Obfuscation will never work.

ml>
Hello again, sweet readers !
OpenRG is an embedded OS for routers. It's based on Linux and it's inside many ISP routers out there.
Inside OpenRG configuration file, passwords appear in a way that can seem to be crypted, but it's just obfuscated.
For example: (username(admin)) (password(&b7;X&5c;&b9;&a2;))
Above you can see a simple deobfuscator. Enjoy!
You can try it with: &ad;Y&5b;&b3;&a3;&17;T&8b;&c4;&b9;#&96;&04;c&ea;&1d;$%&5d;&16;&08;B3&c0;
:)
Zibri.