When my phone isn't plugged into the charger, it's in my pocket, so vibration suffices for notifying me of a phone call or text message. But unlike my previous phone, it doesn't vibrate loudly enough for me to reliably hear it when it's not in my pocket. So I'd like to automatically change the sound profile to "Sound" when I plug in the phone, and "Vibrate only" when I unplug it. How can I do that?

I have experience in administering Linux PCs and servers, but I'm unfamiliar with Android internals, so I wouldn't know where to begin to write a shell script for this.

  • 1
    Likely achievable with Tasker. We do have some Tasker veterans here - I'd wait for their move. – Andy Yan Feb 27 '17 at 2:13

This needs automation or using an app (if available) , i former is preferred option for me -Macrodroid is a versatile automation app:

You would need two macros

Trigger : Power disconnected/ connected → connected

Actions: : Volume Change → set Ringer to your desired level as also others as you wish

Constraints: None (Run always) or set up your Constraints under which macro runs

For the second macro, Trigger would be power disconnected and action would be Vibrate Enable

  • Welcome. Glad to help – beeshyams Feb 28 '17 at 1:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.