[Feature]: Wakelock (keep screen on) in Backup screen / when performing "Start Backup" #494

Closed
opened 2026-02-04 20:51:25 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @HcNguyen111 on GitHub (Dec 20, 2022).

Feature detail

Can a wakelock be added to the "Backup page", where the "Start Backup" button is to keep the phone screen on?

I had a look at backup_controller_page.dart but am not sure how to add it.

It might be better to add a "Keep screen on" toggle/confirmation near "Start Backup" instead of forcing it for everyone all the time?

Platform

Mobile App

Originally created by @HcNguyen111 on GitHub (Dec 20, 2022). ### Feature detail Can a wakelock be added to the "Backup page", where the "Start Backup" button is to keep the phone screen on? I had a look at [backup_controller_page.dart](https://github.com/immich-app/immich/blob/main/mobile/lib/modules/backup/views/backup_controller_page.dart) but am not sure how to add it. It might be better to add a "Keep screen on" toggle/confirmation near "Start Backup" instead of forcing it for everyone all the time? ### Platform Mobile App
Author
Owner

@alextran1502 commented on GitHub (Dec 22, 2022):

Wake lock can be enabled from the device level in the screen lock setting.

@alextran1502 commented on GitHub (Dec 22, 2022): Wake lock can be enabled from the device level in the screen lock setting.
Author
Owner

@alextran1502 commented on GitHub (Dec 23, 2022):

Found a package can help with this
https://pub.dev/packages/wakelock

@alextran1502 commented on GitHub (Dec 23, 2022): Found a package can help with this https://pub.dev/packages/wakelock
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#494