Linux 3.4.36
Linux 3.4.37
Linux 3.4.38
Linux 3.4.39
Linux 3.4.40
Linux 3.4.41
initial test for new Rhodium batt driver.
Stabilize algos and remove unused code. Still not ready for use but getting close.
batt driver changes
- update comments
- add scheduled work to avoid mutex errors when notify usb func is called (jerome's method)
- test for vbus on init instead of main loop
change constants with defines for easy changes. Replace old charge algo that would quit at 95 and now keep charing till 100. Cleaned up some code.
add notes and values for final testing.
Level now is being calculated with BATT_VOLTAGE_FULL and BATT_VOLTAGE_EMPTY instead of MIN/MAX. This way we can allow the driver to charge past 100 to the real max of 4200mv.
Make sure we set set level to 100 when voltage reaches max.
increase the batt_ful value to remain close to max voltage when charging.
Makefile: use new battery driver
3.x remove missing owner attribute
3.x: As with old battery driver, force cable status update on refresh (no usb cable notification?)
Ensure current is negative while discharging
Add to header set vbus state used in batt driver
Tweak usb/ac workaround detection a bit to fix polling bug that would make ac charging register as usb