gta04 - neocontrol - display battery and usb uevent

display also charging max_current
gta04 - work on clever charging
neohardware.cpp - reformat with indent.sh
Merge branch 'master' of github.com:radekp/qtmoko
gta04 charging - implement charging logic to avoid charging bugs

GTA04 charging on some chargers is bugged. The problem is that by
default kernel sets charging current to 600mA and if the USB power
supply is not strong enough, then voltage drops under 4.5V. This
confuses GTA04 charging logic and the result is that GTA04 after
charged to full then discharges to 0 because charging never starts
again. See twl4030_charger.c and especially the function
twl4030_charger_enable_usb().

The solution QtMoko now uses is that we disable charging with 600mA
when QtMoko starts. That's the line:

qWriteFile("/sys/module/twl4030_charger/parameters/allow_usb", "N");

Now when USB is plugged it starts charging just with 100mA. We slowly
raise the current and check if voltage remains above 4.5V.

There is even some logic when battery is getting full we lower the
charging current (using values from battery) so that battery charges
very very slowly.

You can check charging in NeoControl - it has nice charging graph now.
gta04 - fix and improve charging
gta04 - trim charge log if it's too long
gta04 neocontrol - improved charge drawing
gta04 charging - log to file /var/log/charging
gta04 - AT_OPSYS setting in neocontrol, charging log in file
v57
gta04 - charging log interval
neocontrol - paint texts vertically
gta04 charging graph - minor drawing fixes
gta04 charging graph - fix drawing charge near top of screen
gta04 charging graph - fix drawing charge near top of screen - second try
gta04 Modem.conf - fix opsys
gta04 - regenerate alsa state files for latest neil's kernel
gta04 - log charging using timer when interval is small
gta04 - max_current path for latest 3.7 kernel