AnsweredAssumed Answered

auto suspend or shutdown after innactivity

Question asked by Dennis Muhlestein on May 27, 2020
Latest reply on Jun 30, 2020 by Dennis Muhlestein

Hello,

 

We're using Android 9 from NXP for our I.mx8 boards.  It has some customization for some of our custom hardware but mostly the UI and Android is all stock.  I've read some posts about auto suspend but that seems to be disabled.  I'm not sure where to enable it.   As installed, it stays on and doesn't even dim the screen.  (That may be because our screen doesn't yet support dimming but it will in a future hardware revision.)

 

We have a device where battery power must last as long as possible.  I want to enable the lowest possible power consumption when not in use.  Suspend to disk would be probably OK but even shutting down entirely would be good.

 

All the values in frameworks/base/core/res/res/values/config.xml seem to suggest auto suspend is there (activity timeouts, min, max intervals, screen dimming values etc), but the system doesn't actually ever attempt to suspend.  So I think it's disabled or not activated somewhere else.

 

Thanks for input!

Outcomes