Comment 38 for bug 1623853

Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

I have attached two upstart .conf files implementing a fix that keeps the display on until the phone has booted. In particular it acquires a display-on lock when repowerd has started and releases it when lightdm has started. After the display-on lock is released the display stays on for 30s-1m (depending on the user timeout).

To test this, copy *both* attached files into /etc/init/ on the device (overwrite the existing repowerd.conf, keep-display-on-during-boot.conf is a new file) and reboot.

If you want to try the scenario described in this bug, do:

sudo rm /var/lib/apparmor/profiles/.apparmor.md5sums

before rebooting.

Please try it out and let me know what you think, so I can push the fixes to the respective packages.