Keep screen on when connected via USB (Feature #651)

Added by Herman van Hazendonk over 3 years ago. Updated about 3 years ago.

Status:Closed Start date:09/27/2014
Priority:Normal Due date:
Assignee:John McConnell % Done:


Target version:Black Eye


Add option to Settings app for Screen & Lock to keep screen on while connected to USB.

Can be achieved by setting calling "luna-send -n 1 -f luna://com.palm.display/control/setProperty '{ "onWhenConnected": true }'" and can be disabled by "luna-send -n 1 -f luna://com.palm.display/control/setProperty '{ "onWhenConnected": true }'"


Updated by Herman van Hazendonk over 3 years ago

A simple toggle button would do, that does something to the following extend when changed (just mocked it up, so needs some proper testing):

screenOffToggleChanged: function(inSender, inEvent) {
if(this.palm) {
if(enabled) {
this.$.SetDisplayProperty.send({onWhenConnected: true});
else {
this.$.SetDisplayProperty.send({onWhenConnected: false});
else {

Updated by Achim Königs over 3 years ago

I would better like this option to appear in developer options. This is a typical developer request and found under developer options in other systems, too.

Or what is the use case for ordinary folks? ;)

Updated by John McConnell over 3 years ago

Ok that simple to do :)

Updated by John McConnell over 3 years ago

Ok it is moved ready for testing and tweeking

Updated by Simon Busch over 3 years ago

  • Status changed from New to In Progress

Updated by Simon Busch about 3 years ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF