Skip to main content

Keep you Android device awake when your application is running.

Project description

AndroidKeepAwake

Keep your Android device awake when running Kivy Apps

Example usage

class Screen1(Screen):
    def __init__(self, **kw):
        super().__init__(**kw)

        self.myApp = AndroidKeepAwake()
        
    def on_enter(self):
        # Turn on AndroidKeepAwake on Enter
        self.myApp.android_setflag()

    def on_leave(self, *args):
        # Turn off AndroidKeepAwake on Leave
        self.myApp.android_clearflag()

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AndroidKeepAwake-1.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

AndroidKeepAwake-1.1-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page