Hi,
Here's a solution for the SmartSync Powersaving issue. This app can be used to disable this HTC feature.
Nice thing about this app is:
You do not need root or an unlocked bootloader!
The app is compatible with all Sense 4 devices and devices running a Sense 4 port.
What is this SmartSync Powersaving issue?
HTC introduced SmartSync with Sense on ICS, which should provide you with the best battery life for your device.
Unfortunately this feature got messed up by HTC, since there's no interface to control it.
This shouldn't be to much of a problem, right?
Well it is, and here's why:
HTC SmartSync forces the wifi and data connections to go sleep/disconnect after 15 minutes screen off time between 00:00 and 07:00 am.
For some this isn't an issue. However more and more people find it important to have a constant data/wifi connection. During the day as well as the night.
The issue is disussed here in over 40 pages: WiFi goes sleep even setting policy to "Always On".
Some people contacted HTC and got the "issue" confirmed... They, however, call it a feature to save battery during night. Also they did not make a statement if this "bug" will be fixed in the future.
mikeyxda posted a solution to this problem here, but this isquite a dirty hack. To accomplish this you also need some basic knowledge with apktool. The biggest disadvantage, for some people, with this solution is that you have to have root access.
Some smali code which shows the issue
Here you can see the timespan from 00:00 to 07:00 where SmartSync to turn of data/wifi gets disabled
constructor of SmartSyncScreenOnOffTimeReceiver.smali
Here you can see that the values are hardcoded, and that even if there was an interface to control it, you wouldn't be able to change the values.Code:const/4 v2, 0x0 ----> Stands for 00:00 .... sput v1, Lcom/android/settings/framework/activity/powersaver/SmartSyncScreenOnOffTimeReceiver;->USERNIGHT_TIMESTART:I const/4 v2, 0x7 ----> Stands for 07:00 sput v2, Lcom/android/settings/framework/activity/powersaver/SmartSyncScreenOnOffTimeReceiver;->USERNIGHT_TIMEEND:I
I spent some hours to backtrace the the issue to find a cleaner solution than mikeyxda found. Thanks to him I got a good point to start with
and found a cleaner solution and 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 same steps, but start my app first
- 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 messed up. I am in no way responsible if your data/wifi connection still disconnects and you miss important mails etc.
The app is properly tested and I got several reports that its working.





