Laptop lid close action on battery

The action to take when the laptop lid is closed and the laptop is on battery power.

- Type: dconf
- Key: /org/gnome/settings-daemon/plugins/power/lid-close-battery-action
- Default: 'suspend'

Note: default system value is used for "Not Configured" and enforced if "Disabled".

Supported on Ubuntu 20.04, 22.04, 22.10.

Supported on: Ubuntu

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
Value NamemetaValues
Value TypeREG_SZ
Enabled Value{"20.04":{"empty":"''","meta":"s"},"22.04":{"empty":"''","meta":"s"},"22.10":{"empty":"''","meta":"s"},"all":{"empty":"''","meta":"s"}}
Disabled Value{"20.04":{"meta":"s"},"22.04":{"meta":"s"},"22.10":{"meta":"s"},"all":{"meta":"s"}}

Laptop lid close action on battery


  1. blank
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valueblank
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valuesuspend
  3. shutdown
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valueshutdown
  4. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valuehibernate
  5. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valueinteractive
  6. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valuenothing
  7. logout
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Nameall
    Value TypeREG_SZ
    Valuelogout

Override value for 22.10:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
Value NameOverride22.10
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. blank
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valueblank
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valuesuspend
  3. shutdown
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valueshutdown
  4. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valuehibernate
  5. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valueinteractive
  6. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valuenothing
  7. logout
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.10
    Value TypeREG_SZ
    Valuelogout

Override value for 22.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
Value NameOverride22.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. blank
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valueblank
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valuesuspend
  3. shutdown
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valueshutdown
  4. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valuehibernate
  5. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valueinteractive
  6. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valuenothing
  7. logout
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name22.04
    Value TypeREG_SZ
    Valuelogout

Override value for 20.04:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
Value NameOverride20.04
Value TypeREG_SZ
Default Valuefalse
True Valuetrue
False Valuefalse



  1. blank
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valueblank
  2. suspend
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valuesuspend
  3. shutdown
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valueshutdown
  4. hibernate
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valuehibernate
  5. interactive
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valueinteractive
  6. nothing
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valuenothing
  7. logout
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Ubuntu\dconf\org\gnome\settings-daemon\plugins\power\lid-close-battery-action
    Value Name20.04
    Value TypeREG_SZ
    Valuelogout


ubuntu.admx

Administrative Templates (Computers)