Merge lp:~chunsang/powerd/shorten-autobrightness-debouce into lp:powerd

Proposed by Chunsang Jeong
Status: Needs review
Proposed branch: lp:~chunsang/powerd/shorten-autobrightness-debouce
Merge into: lp:powerd
Diff against target: 12 lines (+1/-1)
1 file modified
src/autobrightness.c (+1/-1)
To merge this branch: bzr merge lp:~chunsang/powerd/shorten-autobrightness-debouce
Reviewer Review Type Date Requested Status
Pat McGowan (community) Approve
Ubuntu Phablet Team Pending
Review via email: mp+288878@code.launchpad.net

Description of the change

Shorten autobrightness debounce time to get faster brightness change response from 4 sec to 1sec,

Tested with arale, krillin, frieza and turbo that it worked well up to 1 sec, and verified that light sensors from the devices are quick to be settled down less than 1 sec.

To post a comment you must log in.
Revision history for this message
Pat McGowan (pat-mcgowan) :
review: Approve

Unmerged revisions

185. By Chunsang Jeong

Shorten autobrightness debounce time to get faster brightness change response

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/autobrightness.c'
--- src/autobrightness.c 2013-09-12 14:33:56 +0000
+++ src/autobrightness.c 2016-03-14 02:16:16 +0000
@@ -81,7 +81,7 @@
81#define SMOOTHING_FACTOR_SLOW 2000.0f81#define SMOOTHING_FACTOR_SLOW 2000.0f
82#define SMOOTHING_FACTOR_FAST 200.0f82#define SMOOTHING_FACTOR_FAST 200.0f
83#define HYSTERESIS_FACTOR 0.10f83#define HYSTERESIS_FACTOR 0.10f
84#define DEBOUNCE_MS 400084#define DEBOUNCE_MS 1000
8585
86enum ab_state {86enum ab_state {
87 AB_STATE_DISABLED,87 AB_STATE_DISABLED,

Subscribers

People subscribed via source and target branches