When alarm is On, switch off the phone shall be impossible

Hello

When alarm rings, I tend to snooze it. One day before I deactivate the snooze option but sometimes I find myself switching off the phone just to snooze alarm. If possible please add a feature that will not allow me to snooze alarm (even switching off the phone) . The only way shall be take a picture of a QR code. So, in thsi way I will not be able to continue sleeping and will have to get up :slightly_smiling_face:

Thank you

Selim

I think it’s impossible to prevent your phone from shutting down. It would be considered malware, as the app would be taking control over your device. In addition, controlling the power state requires an unlocked bootloader and root permissions. And even then, you could just forcefully shutdown the phone by holding the power button until it restarts.