Skip to content
  • Hans de Goede's avatar
    power: Stop treating tablets specially · 2e508928
    Hans de Goede authored
    Quite some time ago special handling for tablets was added to
    gsd-power-manager to automatically suspend the tablet when the
    screen was blanked to save power.
    
    With the more recent auto-suspend (when on battery power) support, this
    hardcoded behavior really is no longer necessary, if the auto-suspend
    timeout gets set to the same value as the blank timeout the same result
    is achieved, but now under user control, rather then being hardcoded.
    
    Not having this hardcoded is desirable because suspend is not always
    desirable, e.g. when ongoing downloads are active, or other network
    connections are open such as an irc client.
    
    The hardcoded behavior is especially troublesome because it not only
    triggers on actual tablets, but also on various non tablet devices,
    both surface like devices, which are often used as one would use a
    laptop, as well as on some actual laptops. On laptops one may typically
    have an irc-client open, network downloads ongoing, etc. and then lock
    the scr...
    2e508928