Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for checkout doesn't reset idle timer #75

Open
meurig opened this issue Apr 11, 2019 · 1 comment
Open

Prepare for checkout doesn't reset idle timer #75

meurig opened this issue Apr 11, 2019 · 1 comment

Comments

@meurig
Copy link

meurig commented Apr 11, 2019

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

@mrgithub
Copy link

What happened with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants