Skip to content

Prepare for checkout doesn't reset idle timer #75

@meurig

Description

@meurig

When running without external power, the Reader will go to sleep after approximately 4 minutes. I am attempting to prevent the reader going to sleep as I need to be ready to take a payment quickly.

The SumUpSDK.prepareForCheckout() method is very useful to wake the reader once it's gone to sleep. However, the device can still go to sleep immediately after a call to this method if it's 4 minute idle timer is reached.

Ideally a call to prepare would tell the device that a checkout is imminent, resetting it's idle timer and thus preventing it going to sleep for a further 4 mins.

If there are any other suggestions for preventing the reader from sleeping I'd be glad to hear them!

Many thanks,

Meurig

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions