It only kicked in under certain conditions so I’d bet it was based on monitoring current battery output. I had a phone affected by it and first noticed the problem in the winter when cold temperatures meant it was relatively easy to trigger outdoors but it still never happened indoors.