Git Product home page Git Product logo

Comments (8)

darren3 avatar darren3 commented on August 16, 2024

Upon further reading on Greenify's site doze could be enabled in the build by enabling the flag com.android.internal.R.bool.config_enableAutoPowerModes

"Aggressive Doze should work on all devices with Android 6+, unless the Doze Mode is disabled by the ROM. If you are using a custom ROM made by community, ask the
ROM modder to enable this flag in the ROM: com.android.internal.R.bool.config_enableAutoPowerModes"

https://greenify.uservoice.com/knowledgebase/articles/828360-what-is-aggressive-doze

from treble_experimentations.

phhusson avatar phhusson commented on August 16, 2024

Thanks for that.
My only worry is that not all devices have a SMD sensor

from treble_experimentations.

darren3 avatar darren3 commented on August 16, 2024

They can still use aggressive doze from apps like Greenify or Naptime. Root isn't even required as commands can be sent via ADB. My Nexus 10 (running a build of AOSP 8.1) doesn't have the relevant sensor's so normal doze doesn't work but aggressive doze via the apps works great.

from treble_experimentations.

darren3 avatar darren3 commented on August 16, 2024

If they don't have the sensor and don't enable aggressive doze the device would just work as if doze wasn't available.

from treble_experimentations.

phhusson avatar phhusson commented on August 16, 2024

Current CDD has no requirement on SMD:
https://source.android.com/compatibility/8.1/android-8.1-cdd.pdf
"[SR] are STRONGLY RECOMMENDED to implement the TYPE_SIGNIFICANT_MOTION
composite sensor"

But AutoPowerModes doc indeed doesn't say anything about a SMD sensor, and my Android Go devices without a SMD has it enabled, so I'm enabling it
Thanks

from treble_experimentations.

darren3 avatar darren3 commented on August 16, 2024

Great thanks, I look forward to the next build.

from treble_experimentations.

darren3 avatar darren3 commented on August 16, 2024

Doze is working perfectly in v19. Thanks.

from treble_experimentations.

phhusson avatar phhusson commented on August 16, 2024

Thanks for the confirmation

from treble_experimentations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.