Skip to content
  • Bastien Nocera's avatar
    backend: Move lid-is-closed handling to MetaBackend · 95121965
    Bastien Nocera authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Rather than handle UpClient in both MetaBackend (to reset the idletime
    when the lid is opened), and in MetaMonitorManager and
    MetaMonitorConfigManager (to turn the screen under the lid on/off
    depending on its status), move the ability to get the lid status from
    UPower or mock it in one place, in MetaBackend.
    95121965