Skip to content

Unclaim ambient sensor when screen is blanked

Guido Günther requested to merge guidog/phosh:ambient-fixes into main

This allows the sensor chip to save power when the screen is blanked and avoids needless theme switching when the user doesn't notice anyway (saving battery too).

Also fixes some resource leaks (which matter now that we unclaim often instead of just on shell shut down / sensor-proxy going away)

Merge request reports