Powerhal: add thermal state listener for metric aggregation

Powerhal will monitor the thermal throttling status, so frame jank
data can possibly be correlated with the thermal throttling states.

Bug: 394150622
Test: Verify the thermal throttling info showed up in powerhal log.
Flag: Flag: NONE powerhal doesn't have a flag yet
Change-Id: I44e218e28875c471f22fdb3103d6465d5fd28e05
4 files changed