Android 6.0 Shows When You Used Flashlight or Camera in Battery Statistics
Finding out what uses up your phone’s battery helps you figure out how to keep it going . Now in Android M you can see when your camera or flashlight was used.
Battery stats in Android have long been showing things like cellular signal, GPS, Wi-Fi, and screen timeliness. Now, with the latest update, you can also see when your phone has used the camera or flashlight. Since these things can also cause significant battery drain, this should help diagnose any major power leaks.
[Android M Feature Summary] Battery Usage Chart Shows Bars for Camera and Flashlight Usage | Police Android