Share your experience!
I'm totally disagree with that. Since the upgrade to 6.0 without stamina mode, the batery life is bad...is there a way to re-enable stamina mode? Please, it was one of the main points of choosing Xperia
Meanwhile I have followed some instructions at XDA where you can use 'adb shell' from a PC to connect to your phone and modify the Doze settings. Basically, it seems possible to reduce the sensitivity of Doze on movement and also to make it kick in much faster.
These are the settings I am now experimenting with:
adb shell settings put global device_idle_constants inactive_to=30000,sensing_to=0,locating_to=0,location_accuracy=20.0,motion_inactive_to=0,idle_after_inactive_to=0,idle_pending_to=300000,max_idle_pending_to=600000,idle_pending_factor=2.0,idle_to=3600000,max_idle_to=21600000,idle_factor=2.0,min_time_to_alarm=3600000,max_temp_app_whitelist_duration=300000,mms_temp_app_whitelist_duration=60000,sms_temp_app_whitelist_duration=20000
The default settings would probably be
adb shell settings put global device_idle_constants inactive_to=1800000,sensing_to=240000,locating_to=30000,location_accuracy=20.0,motion_inactive_to=600000,idle_after_inactive_to=1800000,idle_pending_to=300000,max_idle_pending_to=600000,idle_pending_factor=2.0,idle_to=3600000,max_idle_to=21600000,idle_factor=2.0,min_time_to_alarm=3600000,max_temp_app_whitelist_duration=300000,mms_temp_app_whitelist_duration=60000,sms_temp_app_whitelist_duration=20000
To see current settings just do: adb shell dumpsys deviceidle. Perhaps someone could verify the default settings by executing this command on a phone that still has default doze settings.
The good thing about these commands is that they don't require root and also that the settings persists across reboots and and even software updates.
With the new settings the location sensitivity should be gone and doze should activate within 30 seconds after screen off. At least according to GSam battery monitor the phone is dozing quite a lot more than before. Unfortunately my initial test during a cycling tour were not that good. The reason is probably because there is a wakelock being held by a certain process. I am suspecting in my case it is K9 so I disabled background sync and see what happens. At least I am pretty sure that in my case that it is a wakelock issue since Settings/Battery Usage (and then click on graph) shows that my phone is almost awake full time while the screen is off. I haven't rooted my phone (want to keep this one stock for as long as I can) so it is difficult to troubleshoot in detail. What I think is that with stamina mode, processes cannot even get a wakelock while the phone is off so without stamina mode the battery usage can be ruined by apps that use wakelocks extensively.
It still beats me why google still hasn't implemented a standard feature to troubleshoot these wakelocks since this is still exactly the same problem I had in 2011 with my first Android phone.
I feel really happy that I didn't run the update without checking for issues.
Gonna stay far away from it till it has been properly fixed and integrated, and Stamina is back.
It's a shame...
I just found out using Better Battery Stats that there is wakelock being held by NlpCollectorWakeLock (Google Services).
This is keeping the phone awake and causing battery drain. Not good. I am now creating a full backup of all data on the phone and will attempt a downgrade using PC companion or if that doesn't work using flashtool.
So annoyed with new Z5 that was lookig forward to and after Marshmallow upgrade have now had to send off to repair centre as it was acting totally impossible to use as a phone for all it was meant to be so now no phone, not sure how it can be rectified so to be honest really annoyed as with all the posts about problems Sony not appear to deal with issues accordingly !!
Will post feedback on repair status
Hope no one else has had to revert to this ?
Reverted back to the latest Lollipop firmware on my phone. It is a fraction slower, but then I have stamina mode again. Perhaps I will never upgrade it again.
Dear Sony,
+1 for Stamina:smileyhappy: