RECIPES · SENSORS
Shake your phone to turn on the flashlight
A shake is quicker than finding the Quick Settings tile. This routine also turns the light off again, so it doesn't run the battery down if you forget.
How do I turn on the flashlight by shaking an Android phone?
Shake your Android phone to turn the flashlight on, and have it switch itself off five minutes later, with one sentence in Rulomi. To set it up, install Rulomi from Google Play, type the sentence below, check the routine it shows you, and enable it.
When I shake my phone turn on the flashlight, wait 5 minutes and then turn off the flashlightRulomi's on-device parser understands this as written, so it works with the AI planner switched off.
What Rulomi builds
- WHEN
- You shake the phone
- THEN
- Turn on the flashlight
- Wait 5 minutes
- Turn off the flashlight
You see this on the review screen before you enable it, and nothing runs until you do.
Access it asks for
- Nothing for the actions themselves.
Rulomi asks for access per routine, when a routine needs it, not all at once when you install.
Variations
When I shake my phone turn on the flashlightLeaves the light on until you turn it off.
Good to know
- The screen has to be on. Android stops delivering motion once the screen is off, so a shake in your pocket does nothing.
- There are three shake sensitivities to choose from on the review screen, because the same flick reads differently on every phone.
- The flashlight can't be put back automatically, which is why this routine turns it off itself. A routine's waits can add up to six hours.