How to simulate sleep mode on Android emulator

前端 未结 6 1824
遇见更好的自我
遇见更好的自我 2020-12-30 19:36

Some users of my Android application report bugs when the mobile enters sleep/power saving mode.

I would like to test that issue on the Android Virtual Device. Is it

6条回答
  •  余生分开走
    2020-12-30 20:00

    The Power Button on the sidebar next to emulator will do it.

    The hotkey on my Mac is ⌘ P

    Note: You will need to set Lock Screen using Swipe instead of None

提交回复
热议问题