Power: Fail to set delay time when the value is 90 minutes
Bug #1827346 reported by
ethan.hsieh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
gnome-control-center (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Fail to set delay time when the value is 90 minutes.
In cc-power-panel.ui, the value of 90 minutes is 4800 (80*60), not 5400 (90*60). When setting the delay time to 90 minutes, the UI will show "80 minutes" after reopening "All Settings". (Please refer to the photo in #1 and #2)
[Test Case]
1) Go to [All Settings]
2) Set delay time to 90 minutes (On Battery Power or Plugged in)
3) Close [All Settings]
4) Reopen [All Settings]
5) Check if the value is 90 minutes.
[Regression Potential]
Low. The value of 90 minutes is wrong. Just correct the value to 5400.
To post a comment you must log in.
The attached patch has been accepted by upstream.
Please help to backport it to bionic and xenial.