02-23-2013 01:22 PM
I'm just starting to play with BB10. I'd like to leave the BB10 "Camera Light" on even when the user closes his/her "case" on it (or if the power button was pushed).
Pretty simple turning the light on...
const camera_error_t error = camera_config_videolight(m_camera, CAMERA_VIDEOLIGHT_ON);
but seems it gets "shut off" if the phone DIM's / Sleeps by itself.
Is there a way to keep this active?
02-23-2013 04:36 PM
nope. can't do it right now.
the camera h/w is tied to the display wake/sleep state, and since the led is driven through the camera interface, it's not currently possible to do this.
we're looking to change this behaviour in the future, but it depends on a power management change that I have no ETA for.
09-13-2013 12:51 AM