Merge lp:~charlesk/indicator-datetime/lp-1434637-make-alarms-use-less-battery into lp:indicator-datetime/15.04
Status: | Merged |
---|---|
Approved by: | Ted Gould |
Approved revision: | 409 |
Merged at revision: | 406 |
Proposed branch: | lp:~charlesk/indicator-datetime/lp-1434637-make-alarms-use-less-battery |
Merge into: | lp:indicator-datetime/15.04 |
Diff against target: |
167 lines (+51/-18) 3 files modified
data/com.canonical.indicator.datetime.gschema.xml.in (+1/-1) src/awake.cpp (+49/-16) tests/test-exporter.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~charlesk/indicator-datetime/lp-1434637-make-alarms-use-less-battery |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Ted Gould (community) | Approve | ||
Review via email: mp+254823@code.launchpad.net |
Commit message
Reduce the forced screen-on time for alarms to reduce battery consumption. Also, lower the default alarm duration from 30 minutes to 10 minutes.
Description of the change
== Description of change
1. Change the default alarm duration from 30 minutes to 10 minutes.
2. Force the screen on when an alarm goes off, but release the force so that, if the phone is not touched, it will dim after 30 seconds and turn off after 60 seconds, just like it would if you'd woken it up yourself.
== Checklist
> Are there any related MPs required for this MP to build/function as expected? Please list.
No
> Is your branch in sync with latest trunk? (e.g. bzr pull lp:trunk -> no changes)
Yes
> Did the code build without warnings?
Yes
> Did the tests run successfully?
Yes
> Did you perform an exploratory manual test run of your code change and any related functionality?
Yes
> If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A
> What device (or emulator) has your component test plan been executed successfully on?
mako vivid r150
> What manual tests are relevant for this MP?
indicator-
> Did you include a link to the MR Review Checklist Template to make your reviewer's life easier?
https:/
Looks Good. Got a bit confused on the C++ object being called self :-)