OnePlus, as promised has finally released Dash charging source code on GitHub. The Most exclusive feature of OnePlus 3 is Dash Charging, the ability to fast charge the device irrespective of the usage state of the phone.
Until now Dash charging feature was only for Stock OnePlus 3 Firmware, but now developers can implement Dash Charging for custom ROMs too.
Here's the Dash charging source on GitHub
via - tech.firstpost