Sorry for the copy paste reply, but I answered this for another user just a second ago. I hope this helps:
Try this. The app is called Light Flow. It allows customization of the LED based on apps and phone functions like low battery or charging.
It's $1.99
Light Flow - Paid Version
Try the free version first.
Light Flow - Free Version
Hope this helps!