GarlicOS / buildroot

Other
136 stars 6 forks source link

Feature request: sleep #9

Closed benfre closed 4 months ago

benfre commented 9 months ago

As of release 2.0.0, there is no sleep function.

On my rg35xx+, after press power button, at 4s it start to boot, at 18s enter garlicos menu, at 70s finished starting a game.

On stock firmware, it take 1s from sleep, then resume a game play.

Now press power button will shutdown (good thing is shutdown very quickly).

Sleep feature implement:

  1. Press power button to sleep,
  2. Press power button to wake from sleep
  3. Sleep, shutdown and reboot from menu
Black-Seraph commented 4 months ago

Stock OS doesn't even support sleep, it just turns the screen off & back on again.

As of now, GarlicOS' power button behavior is closer to what one would consider hibernate than sleep.

Future builds will allow bootloaders to configure the power button behavior which should net us sleep support on platforms that support it.