Migrate power_supply_test.cpp from Gerrit to Google3. Google-Bug-Id:548070242 PiperOrigin-RevId: 968146608 Change-Id: I8e06fb15b15826b6702906bd6b4968a41c185e99