No default setting for "When power is critically low" in Power settings
| 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
Related branches
| Changed in ubuntukylin: | |
| milestone: | none → vivid-beta1 |
| Changed in ubuntukylin: | |
| assignee: | Ubuntu Kylin Members (ubuntukylin-members) → HuangZhiquan (huangzhiquan) |
| importance: | Undecided → High |
| HuangZhiquan (huangzhiquan) wrote : | #1 |
| Launchpad Janitor (janitor) wrote : | #2 |
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 : | #3 |
in the ubuntu-settings package, the file of 10_ubuntu-
| Changed in ubuntukylin: | |
| assignee: | HuangZhiquan (huangzhiquan) → F.J Kong (fjkong) |
| no longer affects: | unity-control-center (Ubuntu) |
| FanJun Kong - ( BH1SCW ) (fjkong) wrote : | #4 |
simple way to fix this is change ubuntu-settings package, set default value "critical-
| Changed in ubuntukylin: | |
| milestone: | vivid-beta1 → vivid-beta2 |
| FanJun Kong - ( BH1SCW ) (fjkong) wrote : | #5 |
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 */
| FanJun Kong - ( BH1SCW ) (fjkong) wrote : | #6 |
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 : | #8 |
This bug still exists in UK15.04-
| FanJun Kong - ( BH1SCW ) (fjkong) wrote : | #9 |
patch commited waiting for review, so plz wait some days
| Launchpad Janitor (janitor) wrote : | #10 |
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-
critical-
-- 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 : | #11 |
this bug was fixed in the latest iso
| Changed in ubuntukylin: | |
| status: | Fix Committed → Fix Released |
| status: | Fix Released → Fix Committed |
| Changed in ubuntukylin: | |
| status: | Fix Committed → Fix Released |


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里面。 改一下然后安装应该就可以了