charger: Toggle backlight while in charger mode.

The backlight is now toggled on/off in the charger mode via a sysfs
node. This is to compensate for the fact that on certain targets the
FBIOBLANK ioctl does not turn off the backlight.

Change-Id: I7c4531e7f1b0599b9a1f5ed6f95d13ee6a664066
CRs-fixed: 514940

Conflicts:
	charger/charger.c
charger: Draw battery percentage over charger screen

Let user know the exact battery capacity.

Change-Id: Ie2abaeee0e443cd2a730780488287ad4d9ea1e9a
charger: support alarm in power off charging

To implement this feature need to let the phone reboot some time
earlier than the alarm time.

CRs-fixed: 540039
Change-Id: I5001631114994f5bc29313bbd52395c43f7c4810
charger: allow home button to wake

On certain devices (e.g. galaxysmtd), the user expects the physical
home button to be able to wake the device as well as the power button.

Change-Id: If764f36aba3810dfa5233af8baf0a740b04889e0
charger: do not suspend when handling home

When using Google's suspend implementation, home press should also wake
the device from suspend

Change-Id: I51f3e45c5cb418b0b3718e7223a1336876379043
charger: press power key to turn off charging animation

When charging animation is on, press power key to turn it off.

CRs-Fixed: 535893
Change-Id: Iaac536351426a09cb23c6d77ff3229a8901aaf70
Enable backlight on STE devices when battery is full

Change-Id: Ie941f467c54368db480cdfff281844453f678d4b
Signed-off-by: Alberto97 <albertop2197@gmail.com>