Author Topic: vshPowerSetPowerSwMode  (Read 58 times)

Offline Graphene

  • End User
  • *
  • Posts: 17
    • View Profile
vshPowerSetPowerSwMode
« on: February 21, 2020, 06:37:22 PM »
int vshPowerSetPowerSwMode(int mode)

returns 0 if successful.

mode values:
0 - press does nothing, long press opens shutdown menu like usual;
1 - press does nothing, long press immediately shuts down;
2 - press immediately suspends, long press opens shutdown menu like usual;
3 - press immediately suspends, long press immediately shuts down;
4 - same as normal?
5 - same as normal?
6 - same as normal?
7 - press suspends as normal, long press immediately shuts down;