Wiko Fever SE - Why doze doesn't work? - General Questions and Answers

Hello everyone! I have issues about doze.
I have a Wiko Fever (android 6.0) since march. Every night, the battery goes from 100% to 90%.
So I installed GSam. And the doze time was 0s in 8 hours of inactivity. I tried to check if I have the doze. Checked, and the test said that I haven't the sensor support. Looked from the doze requirements, found that I need a significant motion detector. As I understood, the accelerometer and gyroscope are significant motion detectors. (I have them both).
My two questions are: can I use doze? If not, there is a way I can use it?
Sorry for broken English, I hope it is enough clear

Related

just a doubt..can doze mode used to wake device?

doze mode always listening to motion sensor even if display is off or deep sleep.. can we use it for waking the device if we pick up.. some apps currently gets it done.. but with wakelocks.. this will be awesome if we can use it without battery drain
am no developer, no idea about how Android internally works.. just got a thought and asked about possibilities.
sorry for my English
thank you

Doze on the G3

Can anyone confirm whether the G3 supports Doze?
It isn't mentioned in the Android M changelog for the G3, but is present in the Moto X Style changelog.
Moreover, Doze requires a 'significant motion detector' sensor to work, and sensor apps report it missing on the Moto G. Could it be because of the Sensor Hub/ lack of gyroscope?
To check whether Doze actually works: https://www.reddit.com/r/nexus5x/comments/3y8144/guide_finding_battery_issues_with_googles_battery/
tldr: take a bug report, extract the txt from the zip and upload it to Battery Historian 2.0
I looked at the output of my phone, there was no Doze bar, which means Doze did not even activate. Installed the new Greenify and forced aggressive Doze, which seemed to trigger Doze.
I'm not adding this to the general/battery thread as this is a separate issue.
Don't know if the G3 supports doze as I'm still waiting for the MM update (EU version).
But lack of gyroscope / suitable sensors _hardware_ is certainly not an issue.
See Google's specification for doze and SMD API.
https://source.android.com/devices/tech/power/mgmt.html
http://source.android.com/devices/sensors/sensor-types.html#significant_motion
The accelerometer in the G3 is perfectly fine for this purpose.
Might just be that Motorola has screwed in properly exposing this via the SMD API.
Its says we have doze here
http://motorola-blog.blogspot.co.uk/2015/10/marshmallow-and-smore.html
Doze mode isn't an "option" in Marshmallow, all devices will have it, it is a part of the core OS.
So yes, the Moto G has Doze Mode.
acejavelin said:
Doze mode isn't an "option" in Marshmallow, all devices will have it, it is a part of the core OS.
So yes, the Moto G has Doze Mode.
Click to expand...
Click to collapse
Yes it's part oft the core OS. Question is whether Moto G3 can make use of it. And that's only the case if a sensor like e.g. accelerometer is properly exposed via hal to trigger significant motion events.
Something which Motorola at least for the Moto G 2014 in the MM update apparently did not do for some reason. In CM13 devs were able to do it though. See discussions in Moto G 2014 forum.
So the question if Doze is properly working on Moto G3 or if Motorola also missed to properly expose the sensor is quite valid.
with greenify and root we can enable aggressive doze.... and seem to works
u42671 said:
Yes it's part oft the core OS. Question is whether Moto G3 can make use of it. And that's only the case if a sensor like e.g. accelerometer is properly exposed via hal to trigger significant motion events.
Something which Motorola at least for the Moto G 2014 in the MM update apparently did not do for some reason. In CM13 devs were able to do it though. See discussions in Moto G 2014 forum.
So the question if Doze is properly working on Moto G3 or if Motorola also missed to properly expose the sensor is quite valid.
Click to expand...
Click to collapse
I know, but it seems like the Significant Motion Detector sensor hasn't been exposed (to apps atleast); Doze cannot function without it.
Doze require the SMD sensor and GCM support.
..::Matr!x::.. said:
with greenify and root we can enable aggressive doze.... and seem to works
Click to expand...
Click to collapse
I know, my phone goes into Doze with Greenify, doesn't work without Greenify.
u42671 said:
Yes it's part oft the core OS. Question is whether Moto G3 can make use of it. And that's only the case if a sensor like e.g. accelerometer is properly exposed via hal to trigger significant motion events.
Something which Motorola at least for the Moto G 2014 in the MM update apparently did not do for some reason. In CM13 devs were able to do it though. See discussions in Moto G 2014 forum.
So the question if Doze is properly working on Moto G3 or if Motorola also missed to properly expose the sensor is quite valid.
Click to expand...
Click to collapse
The point is, we know it's there... it is even mentioned in the release notes: https://motorola-mobility-en-in.custhelp.com/app/answers/detail/a_id/108725
Wait, now I am questioning myself... "App Standby" - is that Doze Mode or not?
Because according to this I am not sure now...
acejavelin said:
The point is, we know it's there... it is even mentioned in the release notes: https://motorola-mobility-en-in.custhelp.com/app/answers/detail/a_id/108725
Wait, now I am questioning myself... "App Standby" - is that Doze Mode or not?
Because according to this I am not sure now...
Click to expand...
Click to collapse
App Standby and Doze are indeed two different things. I suppose there is a reason why in the Moto G release notes Motorola mentions only App Standby, while in the Moto X release notes both Doze and App Standby are mentioned...
https://motorola-mobility-en-in.custhelp.com/app/answers/prod_answer_detail/a_id/108821
But people have been getting better battery timings when the phone is kept stable and without any movement whatsoever.
Sent from my MotoG3 using Tapatalk
theundead176 said:
But people have been getting better battery timings when the phone is kept stable and without any movement whatsoever.
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
The old addage... Correlation does not imply causation. Just because that is the case does mean the reason for it is Doze mode, there are other optimizations in Marshmallow besides Doze Mode, like App Standby, and perhaps just optimized code that could account for the difference, which for most users is not hugely significant which it should be with Doze mode.
Techguy18 said:
Can anyone confirm whether the G3 supports Doze?
It isn't mentioned in the Android M changelog for the G3, but is present in the Moto X Style changelog.
Moreover, Doze requires a 'significant motion detector' sensor to work, and sensor apps report it missing on the Moto G. Could it be because of the Sensor Hub/ lack of gyroscope?
To check whether Doze actually works: https://www.reddit.com/r/nexus5x/comments/3y8144/guide_finding_battery_issues_with_googles_battery/
tldr: take a bug report, extract the txt from the zip and upload it to Battery Historian 2.0
I looked at the output of my phone, there was no Doze bar, which means Doze did not even activate. Installed the new Greenify and forced aggressive Doze, which seemed to trigger Doze.
I'm not adding this to the general/battery thread as this is a separate issue.
Click to expand...
Click to collapse
install greenify and go to aggressive doze. dont enable it, just enable the notifications. leave your phone for 3 hours, and then check. you'll see greenify saying your phone was in doze from time to time. which means you have doze.
i've been reading this everywhere that our g3 doesnt have doze. weird how a rumor spreads so bad. doze is a core OS function and motorola cannot seem to do anything to disable it.

Does anyone have a definite answer on the Moto G3 supporting Doze or not?

Because I googled around and I am not sure, some say it's built into the core of the OS, and others say it does need a gyroscope.
Any idea?
Well if I have Greenify set to keep logs and nothing else it reports that is been in doze.
I ran Doze Checker a few weeks back (got it from XDA) and according to the app the G3 lacks the sensors to properly support Doze.
JohannesKauffmann said:
I ran Doze Checker a few weeks back (got it from XDA) and according to the app the G3 lacks the sensors to properly support Doze.
Click to expand...
Click to collapse
Huh.... I have a Moto X play and when I turn on aggressive doze It Greenify it DOES work according to the notifications, Gsam reports Doze as well, thing is, it also doesn't have a gyro scope.
Moto G3 does support aggressive doze mode. No special sensors required for this.
Only the movement based doze mode (doze checker only checks for this one) is not supported due to lack of a gyroscope.
https://play.google.com/store/apps/details?id=com.franco.doze&hl=en This does a pretty decent job whether native Doze is fully supported or not.

LineageOS is here!!! [ROM MM]

LineageOS is here!!!
The title is enough, I think,
I haven't tested it yet but.... the first LineageOS ROM for our beloved Photon appeared !
https://download.lineageos.org/xt897
I've been 2 days using this rom on my xt926 so far is good and fast
Thanks, do we have to 'clean-install' this?
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
palmwangja said:
clean install was safe.
You'll get a broken notification status bar eventually and you'll need this:
https://forum.xda-developers.com/showpost.php?p=67444950&postcount=721
I spent half-a-day
Click to expand...
Click to collapse
gapps package which removes CyanogenSetupWizard/LineageSetupWizard is broken and shouldn't be used.
There's no such issue with opengapps nano package which I use.
you can avoid wiping if you "hack" a bit.
I had only to defeat the check (adding the key to htmlviewer in the package.xml (or something like that)) and do a "pm grant com.android.systemui android.permission.READ_CONTACTS" via adb (to enable the logon screen).
Additionally, I did something like
for i in /data/app/*; do
pm install -r $i/base.apk
done
(could have small errors, is two weaks sine then ) to fix the other permissions problem (most with network status access)
It works apparently
Upgrade done almost flawlessly from LL resurrection remix to Lineage OS 13
Few apps had permission problems, i fixed it just restoring the app (app only, no data) using titanium backup.
Anyway I went back to RR given I like it more, and I can't see any real improvement on MM over LL
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
sc0ty said:
I am experiencing huge battery drain. Battery in idle last for about 8 hours. Even when phone was in airplane mode during night it fall from 100% to 75% during about 8 hours. Previously with Cyanogen I've lost maybe 3% during the night tops.
Battery stats does not shows any apps that goes wild. I've installed GSam Battery Monitor and it shows that battery is used mainly by kernel (~40%) and LineageOS (20-30%), but it was running only about half an hour. I will check tomorrow morning after airplain mode night, maybe something came out.
Click to expand...
Click to collapse
Have you checked if the CPU is entering deep sleep? My phone usually manages > 80% time in deep sleep. Of course that would depend on usage. Previous ROMs (nearly all) virtually never entered deep sleep. This one wallows in it.
If I leave it over night (clearing stats at the beginning) it gets very close to 100% I personally use CPU Spy, but there are many apps that would show you if you dont already have one.
I've installed CPU Spy, will see the stats after the night. I've also installed Greenify and I think battery consumption is better now, so I suspect one of my apps was preventing my phone from going to deep sleep.
According to CPU Spy my phone never goes to deep sleep when in airplane mode. I've checked this also with clean rom installed, without gapps or any other apps, just CPU Spy. I'm gonna open ticket in LineageOS JIRA.
sc0ty said:
According to CPU Spy my phone never goes to deep sleep when in airplane mode.
Click to expand...
Click to collapse
so, when its not in airplane mode, it does go to sleep?
I just tested mine, and even with a ton of apps, Xposed, Viper, Magisk etc etc it still went to sleep quickly. This ROM for me wallows in deep sleep. Previous ROMs hardly visited deep sleep if at all.
DiamondJohn said:
so, when its not in airplane mode, it does go to sleep?
Click to expand...
Click to collapse
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
sc0ty said:
Yes, the problem with battery drain when not in airplane mode seams to be fixed. It goes to deep sleep ~80% of the time when idle. I'm not sure what was the fix since there was update to LineageOS in between, and I was reflashing two times in the meantime, cleaning caches and restoring backup from recovery, so hard to say.
Click to expand...
Click to collapse
Sorry, reading my post I guess was not clear. My phone DOES go to deep sleep when in airplane mode. XT905
============ edit
oh, and almost forgot. I am using Pico Gapps, and turn off auto updates and notifications on play store updates.
Hello, it looks like I'm experiencing the same problem. Battery drain on my photo Q running the last lineage os 14.1 (android 7.1.2).
When on airplane mode the battery drain disappears (even if I can't consider this phone a battery beast).
It seems curious to me, I was imagining that in all these months the problem was corrected.
Do you guys have a suggestion? Many thanks in advance
The thing is that my phone seems to suffer from battery draining (when not on airplane mode) even when running sailfish OS (flashed over cyanogenmod 11).
Could then be possible that it has some kind of hardware problem connected to the gsm/radio part? Except for the battery consumption It works fine tough.

Proximity sensor issue s8/s8+ - wakelocks and battery drain

Hello all,
many of you probably have no idea, that there's a small issue with our phones regarding tmd4906 proximity sensor. But first things first. Since I switched to oreo, I've noticed that something's eating up the battery and its sth related to system process. So I installed gsam battery monitor and started checking the lists. I came across that in android system, there's an entry regarding proximity sensor which is taking battery like crazy. Then, I was searching for the cause of it. And i found that's pretty easy to reproduce for us all. So I ask you to check something:
switch on your mobile data, find a dark place, turn on, i.e Spotify and start listening to music (mobile data has to be in use), turn off the screen, and point any other's phone camera to your phone where proximity sensor is (left to the speaker, up.). You should be able to see that proximity sensor is constantly working when mobile data is in use.
Another question - is there any other way to get rid of this? I have switched off everything which may make use of this sensor - no go. Since I'm unrooted, I cant do nothing about it. It's keeping making wakelocks like crazy and draining a lot of juice. My Samsung A5 2016 uses half less juice when i keep mobile data on.
Yes, I've tried many clean flashes from scratch - nothing. I came across that similar issue was found in s7.
Have you tried disabling "Block accidental touches" in Settings / Display ?
I my S7 Edge i had that too. Made my "Android System" wake like crazy. Only working solution was install different ROM (official)

Categories

Resources