Merge Quarx's cpcap_battery driver changes and enable BLX

*Credits to Quarx