power: Increase keyboard backlight hover delay.

Increase the duration that the keyboard backlight remains on
after the cessation of hovering from 5 seconds to 30
seconds, and make this configurable via a
keyboard_backlight_keep_on_after_hover_ms pref. Also keep
the backlight on after user activity is observed.

Also log user-requested changes to the keyboard brightness,
as is already done for the panel brightness.

BUG=chrome-os-partner:36957
TEST=updated tests; also manually verified

(cherry picked from commit 1a3ee3046275a3ab8598c71c5724391deeebc60d)

Change-Id: Ib94a1b6bdafd35d6d443676254f78621e5393fd9
Reviewed-on: https://chromium-review.googlesource.com/252981
Reviewed-by: Dan Erat <derat@chromium.org>
Commit-Queue: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
6 files changed