From 4f94566a0748daa430e71764db2b61f48e016bb7 Mon Sep 17 00:00:00 2001 From: Ningyuan Li Date: Thu, 18 Jan 2024 12:45:41 +0900 Subject: [PATCH] don't keep ui awake when app is not in stream --- src/app/ui/root.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/root.c b/src/app/ui/root.c index 44ad09bbe..4534a9112 100644 --- a/src/app/ui/root.c +++ b/src/app/ui/root.c @@ -96,7 +96,7 @@ void app_ui_open(app_ui_t *ui, const app_launch_params_t *params) { SDL_SetAssertionHandler(app_assertion_handler_ui, ui->app); - app_set_keep_awake(ui->app, true); + app_set_keep_awake(ui->app, false); } void app_ui_close(app_ui_t *ui) {