Flashlight problem on Android I have recently faced a problem on Android regarding the flashlight.

When the flashlight is turned 'on', the flashlight icon in the status bar gets highlighted.

When I am turning 'on' the flashlight, it is staying on for sometime and it automatically gets switched off suddenly after some time, but the icon in the status bar still stays highlighted, which indicates that the flashlight is turned on. Same thing happens for the front flashlight.

Can anybody say what can be the reason for this automatic and  random turning off of the  flashlight ?

Additional information : There is no fixed time interval for the automatic switch off, it is occuring randomly.
I have got a technique to deal with this issue.

I have booted my phone into recovery mode and wiped android's cache partition from there. Since then, the flashlight issue seems to have flown away.
I mean, now the flashlight is not automatically turning itself off.

@Zillinium, I think you should also try this method to deal with your issue. If that doesn't work, a system update or factory reset might do the trick, if there is no hardware problem.