We implemented Kiosk mode in our application by using below clover method.
CustomerMode.enable(this);
But while doing payment using below method If I left the Clover device screen on overnight when I was on the Payment page on the campaign. When checked in the morning it turned off the screen and did not ask to complete the payment.
Intent intent = new Intent(Intents.ACTION_SECURE_PAY);