I found a solution for the HTC SmartSync Powersaving issue and provide here a simple app to disable this HTC feature..and the cool thing is:
It works for LOCKED devices without root too!
It should be compatible with each Sense 4.0 device and Sense 4.0 port.
What's this HTC SmartSync Powersaving issue?:
HTC introduced SmartSync with Sense ICS (all devices), which shall provide you the best battery life for your device.
Unfortunatly HTC messed it up again, because theres no interface to control this powersaving feature.
Isn't a problem you think? It is, and I tell you why:
HTC SmartSync system forces the wifi and data connections to go do sleep/disconnect after 15 minutes screen off time between 00:00 and 07:00 am.
For some this isnt an issue and can ignore this thread, but for some it is important to have a constant data/wifi connection during night.
Some people contacted HTC and HTC confirmed this "issue"...they call it more a feature to save battery during night and didnt make a statement if this "bug" will be fixed in the future.
mikeyxda posted a solution to this problem here, but its quite a dirty hack. To accomplish this you also need some basic knowledge with apktool. For me it causes issues with Exchange syncing as well. But the biggest disadvantage with this solutution is, that you have to be rootet.
Some smali code which shows the issue (for experienced users):
Here you can see the timespan from 00:00 to 07:00 where the SmartSync to turn of data/wifi gets disabled
constructor of SmartSyncScreenOnOffTimeReceiver.smali
You see that this values are hardcoded which wouldnt allow a configuration...if an interface to it would exist, of course.
...theres lots more code I could show, but most of the users wouldnt have use for it =P.
I spent some hours to backtrace the the issue to find a cleaner solution than mikeyxda found. But thanks to him I got a point to start with
and found a cleaner solution...well even the possibility to provide this fix for none unlocked/rooted users.
How to test this issue immediatly:
Turn your wifi on
Go into Settings->Date and Time: Uncheck automatic date and time
Set the time to 00:00
Turn your screen off and let it off for 20 minutes
after >20 minutes turn your device on and see if your wifi/data is still connected.
-> You should see that you havent any data/wifi connection and wifi reconnects few seconds later
And this behaviour repeats each day during 00:00 and 07:00am.
Now do the similar steps again just
Start my app
Check the checkbox "Disable smartsync"
REBOOT
Turn your wifi on
Go into Settings->Date and Time: Uncheck automatic date and time
Set the time to 00:00
Turn your screen off and let it off for 20 minutes
after >20 minutes turn your device on and see if your wifi/data is still connected.
-> You should see that your wifi is still connected!
Disclaimer:
I tried to fix what HTC borked..but I'm not responsible if your data connection still disconnects and you miss important mails etc.
The app is properly testet and I got several reports that its working though.
Any way you could provide a Tasker/Locale plugin with this app, maybe a donate version that has this? (or a way to toggle it via command line, there is already a plugin to run commands)
I'd like to disable SmartSync when I'm at home (or charging) but re-enable it if I'm staying with a friend or something so my battery will last all night.
Any way you could provide a Tasker/Locale plugin with this app, maybe a donate version that has this? (or a way to toggle it via command line, there is already a plugin to run commands)
I'd like to disable SmartSync when I'm at home (or charging) but re-enable it if I'm staying with a friend or something so my battery will last all night.
You could just set up profiles to turn off the data and wifi at particular times and location
I've already done that, but even with wifi on at night, SmartSync will disconnect it after 20 mins of screen off. I backup my sdcard to my home server nightly, and backups are failing because of SmartSync, even with wifi turned on.
From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?