Hi im looking for method to disable my android phones display running on pie. I don't want to use tap to sleep, power button or simulate that option but I want to simply disable display completely and then turn it back on when I need it. I have rooted my phone already.

Example: I want to watch a YouTube video with only audio. So if I disable the display it can save my battery but pressing power button stops the buffering.

it's just an example for what I want to do this. I don't want it. I'm aware of youtube vanced..

  • Do you want to hear only a limited number of YouTube videos I would instead download and convert them to an audio track (using e.g. ClipGrab for PC). This would also save the power to decode the video.
    – Robert
    May 21 '19 at 6:38
  • I do not want it for youtube video. It's just an example of what I mean by disabling display panel and not pressing power button. Thanks for you reply btw.
    – Rohan
    May 21 '19 at 7:47
  • Check your Wifi settings, usually when the screen goes off Wifi will be automatically disabled. This may be the reason for the "stops buffering".
    – Robert
    May 21 '19 at 8:27
  • I'm sorry maybe due to my English I am not able to convey what I want. I want to disable the display panel and nothing else. 'YouTube' was an example. All I want is to disable my display panel.
    – Rohan
    May 21 '19 at 9:46
  • What you want is now clear, however Android is not designed to only switch off the display. Doing so changes the system state at various places and therefore can affect Wifi and other power saving features. AFAIK the power button simply switches off the display, the "unwanted rest" happens automatically because the display goes off, not because you pressed the power button.
    – Robert
    May 21 '19 at 11:30

Thanks @mnd I found solution for the problem. The following app works smoothly. It disables only display 👌


Thanks stackexchange family. Source: How to make an app behave the same way with screen off, as with screen on?

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.