Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Put screen to sleep

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Put screen to sleep

    Hi @all

    We are trying to put the screen of a MKIII / M82 device to sleep (so that the connected screen goes into power saving mode)
    We have tried several methods but none of them really work; Here are the most promising ones:

    1) Disable HDMI
    Code:
    echo -n "VIC:0" > /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode
    Would work great, but for some reason after some seconds the screen turns on again. We have tried to disable HDMI auto detection, its still the same issue. Looks like somewhere there is a watchdog that turns on the HDMI output again. Any ideas how to prevent that?

    2) Android Power Manager
    We put the device to sleep but keep a partial wake lock. This works as expected, but has the problem that android kills application that keep a wake lock for too long, and then the device completely falls into sleep

    Any ideas or suggestion are appreciated

    #2
    Originally posted by xse View Post
    Hi @all

    We are trying to put the screen of a MKIII / M82 device to sleep (so that the connected screen goes into power saving mode)
    We have tried several methods but none of them really work; Here are the most promising ones:

    1) Disable HDMI
    Code:
    echo -n "VIC:0" > /sys/devices/virtual/amhdmitx/amhdmitx0/disp_mode
    Would work great, but for some reason after some seconds the screen turns on again. We have tried to disable HDMI auto detection, its still the same issue. Looks like somewhere there is a watchdog that turns on the HDMI output again. Any ideas how to prevent that?

    2) Android Power Manager
    We put the device to sleep but keep a partial wake lock. This works as expected, but has the problem that android kills application that keep a wake lock for too long, and then the device completely falls into sleep

    Any ideas or suggestion are appreciated
    using a root explorer, navigate to the folder that stores the 3 screen saver images and replace them with black screens... set screen saver to 4 mins ... it wont turn screen off, but it will at least be black.
    Sent from my Commodore 64 using Geos
    My devices:
    Tronsmart Vega S89-H: running stock 104k4 rom, rooted & racky's cpu fix.
    Samsung Galaxy Tab 10.1: running KK's dual boot kernel, Phil's touch recovery & de-bloated, over-clocked and rooted stock rom.
    Samsung Galaxy S3: stock until warrany is over lol running JB 4.3 ...
    HTC Incredible S: Venom rom, 'kangaroo' kernel, overclocked to 2Ghz & still kicking the Sammy's butt!

    Comment

    Working...
    X