No default setting for "When power is critically low" in Power settings

Bug #1413865 reported by Eason on 2015-01-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Kylin
Medium
FanJun Kong - ( BH1SCW )
ubuntu-settings (Ubuntu)
Undecided
Unassigned

Bug Description

No default setting for "When power is critically low" in Power settings.

电源设置中”电量严重不足时“没有默认选项

Steps:
1. Install the latest Ubuntu kylin Vivid x64 OS
2. Enter into System settings-->Power
3. Check the default value of "When power is critically low"
-->Failed. No default value for it

Configuration:
OS: Ubuntu Kylin vivid Daily build 20150122 x64

Changed in ubuntukylin:
milestone: none → vivid-beta1
Jack Yu (jackyu) on 2015-01-28
Changed in ubuntukylin:
assignee: Ubuntu Kylin Members (ubuntukylin-members) → HuangZhiquan (huangzhiquan)
importance: Undecided → High
HuangZhiquan (huangzhiquan) wrote :

the default setting for "when power is critically low" in power settings is "suspend",but it can't be setted to "suspended"(i don't know the reason), you can input command: gsettings set org.gnome.settings-daemon.plugins.power critical-battery-action "shutdown",we can set the default setting in package of gnome-settings-daemon.

笔记本默认设置为“休眠”,但是系统安装在本子上“休眠”选项不可选,所以这项就变成空白了,只要将gsetting的设置改为“shutdown”电源关闭就可以了,这个默认设置被集成在gnome-settings-daemon里面。改一下然后安装应该就可以了

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-control-center (Ubuntu):
status: New → Confirmed
Changed in unity-control-center (Ubuntu):
importance: Undecided → Medium
Changed in ubuntukylin:
importance: High → Medium
status: New → Confirmed
no longer affects: gnome-settings-daemon (Ubuntu)
HuangZhiquan (huangzhiquan) wrote :

in the ubuntu-settings package, the file of 10_ubuntu-settings.gschema.override override "critical-battery-action = 'suspend'",but unity-control-center don't provide the option of "suspend",so it show us blank

Jack Yu (jackyu) on 2015-02-04
Changed in ubuntukylin:
assignee: HuangZhiquan (huangzhiquan) → F.J Kong (fjkong)
Aron Xu (happyaron) on 2015-02-06
no longer affects: unity-control-center (Ubuntu)

simple way to fix this is change ubuntu-settings package, set default value "critical-battery-action = 'shutdown'", good way is default value hibernate and fall back to shutdown, but I don't think it worthy to do because seldom user will enable hibernate.

Changed in ubuntukylin:
milestone: vivid-beta1 → vivid-beta2

from gsd-power-manager.c we get as follows
/* this is only used on critically low battery where
* hibernate is not available and is marginally better
* than just powering down the computer mid-write */

The attachment "patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in ubuntukylin:
status: Confirmed → Fix Committed
jiaowen520li (jiaowen520li) wrote :

This bug still exists in UK15.04-0311-Daily-amd64.

patch commited waiting for review, so plz wait some days

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-settings - 15.04.2

---------------
ubuntu-settings (15.04.2) vivid; urgency=medium

  [ F.J Kong ]
  * d/ubuntu-settings.gsettings-override: set
    critical-battery-action = 'shutdown' (LP: #1413865)
 -- Daniel Holbach <email address hidden> Mon, 16 Mar 2015 10:19:40 +0100

Changed in ubuntu-settings (Ubuntu):
status: New → Fix Released
shijing (shijing) wrote :

this bug was fixed in the latest iso

Changed in ubuntukylin:
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Aron Xu (happyaron) on 2015-03-18
Changed in ubuntukylin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Patches