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

Bug #1413865 reported by Eason
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Kylin
Fix Released
Medium
FanJun Kong - ( BH1SCW )
ubuntu-settings (Ubuntu)
Fix Released
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

Tags: patch vivid
Changed in ubuntukylin:
milestone: none → vivid-beta1
Jack Yu (jackyu)
Changed in ubuntukylin:
assignee: Ubuntu Kylin Members (ubuntukylin-members) → HuangZhiquan (huangzhiquan)
importance: Undecided → High
Revision history for this message
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里面。改一下然后安装应该就可以了

Revision history for this message
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)
Revision history for this message
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)
Changed in ubuntukylin:
assignee: HuangZhiquan (huangzhiquan) → F.J Kong (fjkong)
Aron Xu (happyaron)
no longer affects: unity-control-center (Ubuntu)
Revision history for this message
FanJun Kong - ( BH1SCW ) (fjkong) wrote :

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
Revision history for this message
FanJun Kong - ( BH1SCW ) (fjkong) wrote :

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 */

Revision history for this message
FanJun Kong - ( BH1SCW ) (fjkong) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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
Revision history for this message
jiaowen520li (jiaowen520li) wrote :

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

Revision history for this message
FanJun Kong - ( BH1SCW ) (fjkong) wrote :

patch commited waiting for review, so plz wait some days

Revision history for this message
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
Revision history for this message
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)
Changed in ubuntukylin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Patches

Remote bug watches

Bug watches keep track of this bug in other bug trackers.