ion: ioctl compat with old api

Change-Id: Iea40fac9caa783ede26281e090ec6cb82353d5bd
usb: force 500Ma charging current on unknown chargers

- fixes charging with car chargers and unknown wall chargers

Change-Id: I7bad9447addf46aeb9ded5fc67cfac8915c5d933
Merge "usb: force 500Ma charging current on unknown chargers" into cm-10.1