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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page