Skip to content
  • Bastien Nocera's avatar
    backend: Remove direct upower-glib usage · fa9e330f
    Bastien Nocera authored and Jonas Ådahl's avatar Jonas Ådahl committed
    Monitor whether UPower is running ourselves. That allows us to keep the
    same value for "lid-is-closed" throughout the process of UPower
    restarting, preventing unwanted monitor re-configuration through the process.
    
    Fixes another screen black out when UPower restarts and the laptop lid
    is closed.
    fa9e330f