Alexandru Rusu
Alexandru Rusu

Reputation: 659

Kivy disable screen timeout

I am developing an app with the Kivy framework and I am trying to figure out how to avoid the system screen timeout.

I would like to completely disable the screen turning off (due to screen timeout) while using the app.

I checked the kivy.config module, but I didn't find any conclusive option.

https://kivy.org/doc/stable/api-kivy.config.html

Any ideas?

Upvotes: 2

Views: 676

Answers (1)

Alexandru Rusu
Alexandru Rusu

Reputation: 659

Looking further, I found the solution. I thought not to delete the question, maybe someone else is facing this.

Solution: edit buildozer.spec and set

android.wakelock = True

Upvotes: 3

Related Questions