perfprofd: use getHealthInfo for get_charging

get_charging returns whether the phone is connected
to a charger. The phone can be connected to a charger without
actually being charged.

Test: perfprofd_test
Bug: 112184119
Change-Id: I0b574c73043056c7ceceb38df343ba7c9dce4ebf
1 file changed