Fermata icon indicating copy to clipboard operation
Fermata copied to clipboard

Display going to sleep while playing video on V 1.9.9

Open nabeelr opened this issue 2 years ago • 6 comments

On a Samsung Galaxy Z Fold4, running OneUI 6.0 (Android 14), after the latest 1.9.9 update, the display dims, and eventually times out while playing video. Seems to have started with the 1.9.9 update, but may have been with the 1.9.8 update.

nabeelr avatar Feb 29 '24 17:02 nabeelr

Try to disable energy saving for the app.

AndreyPavlenko avatar Feb 29 '24 21:02 AndreyPavlenko

Oh, Fermata doesn't stop running, but the screen goes to sleep and eventually lock, as it would if you leave your phone untouched at the home screen. Fermata will still keep playing video in the background, but your display will turn off as if you left it idle.

Like Firmata isn't acquiring wakelock, like other media players do.

nabeelr avatar Feb 29 '24 21:02 nabeelr

Thanks! I've updated the release, please check - https://github.com/AndreyPavlenko/Fermata/releases/tag/1.9.9

AndreyPavlenko avatar Mar 01 '24 00:03 AndreyPavlenko

That fixed it! Thanks!

nabeelr avatar Mar 01 '24 01:03 nabeelr

Hey Andrey!

It seems like in other circumstances Fermata still fails to get wake lock.

Like if it gets opened as a windowed app, or if on a folding device, it transitions from the cover screen to the main screen, or if it goes into split screen mode.

The problem will go away, if you fully close the app, and reopen it, but that's not always convenient.

nabeelr avatar Mar 04 '24 06:03 nabeelr

It's not a great solution but a workaround in the meantime would be to use a keep awake app such as "Caffeine" to set the wake lock incase Fermata doesn't get it, or loses it.

mik1011984 avatar Mar 13 '24 13:03 mik1011984