Any option to switch off the mobile if switch not functioning
You mean your power button is not working?
If you do switch off your device and the power button is not working, you won't be able to switch it back on again
Yes Switch off button not working
Switch off button not working
Play PUBG for about 20 minutes, from what I've heard that should fix you right up.
Or, the standard answer is to use Tasker. Tasker can do anything.
I think I found a way but a temporary fix. Go to schedule power on /off feature under setting advanced and specify the turn off time say current time and turn on say 7 am. When the phone switches on again repeat the procedure.
Permanent fix is to visit nearest service centre and get it repaired as it is most likely a hardware issue.
So how exactly do you expect to turn your device back On if the power button is broken?
Imho it would be a foolish idea to turn it Off wouldn't you say.
Probably just be a smarter idea to call a OnePlus service center and have the device repaired.
Introducing The Extraordinary OnePlus Phone Piano
by Pym C., 2019-11-08