sleep after 10mins in setting not work.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
- as a remote access device, I set a password when lock screen. And I set put the devices into sleep after 10 mins, but this setting seems not working. Every time I adb connect the device, it's not sleeping. How should I put the device into sleep after may 10mins automatically. That's the simplest way to avoid unknown access.
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
Well, the default value is hardcoded indevice/redroid/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml
...
<!-- Default for UI touch sounds enabled -->
<bool name="def_sound_effects_enabled">false</bool>
<bool name="def_lockscreen_disabled">true</bool>
<!-- maximize the timeout to INT_MAX about 500+ hours -->
<integer name="def_screen_off_timeout">2147483647</integer>
<bool name="def_package_verifier_enable">false</bool>
Well, the default value is hardcoded in
device/redroid/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml... <!-- Default for UI touch sounds enabled --> <bool name="def_sound_effects_enabled">false</bool> <bool name="def_lockscreen_disabled">true</bool> <!-- maximize the timeout to INT_MAX about 500+ hours --> <integer name="def_screen_off_timeout">2147483647</integer> <bool name="def_package_verifier_enable">false</bool>
Can this be changed after the docker runs? or It's a compile parameter? Can't be changed ? It seems like a compile parameter. It's a pity. Recompiling the whole image is a more complex thing.
I run it on the cloud, and expose port 5555 to the public, but anonymous access it , and run android p2p network sharing app T_T ! need a password protection.
If there is no client streaming (eg scrcpy), is there any CPU/memory usage benefit of having the device sleep?
Just for password protect, not for any CPU/memory usage benefit .