QBatteryInfo::ChargerType QBatteryInfoPrivate::chargerType() { if (!watchChargerType) return getChargerType(); return currentChargerType; }
ChargerType::Type PolicyServicesDomainPlatformPowerStatus::getChargerType(UIntN participantIndex, UIntN domainIndex) { throwIfNotWorkItemThread(); auto participant = getParticipantManager()->getParticipantPtr(participantIndex); return participant->getChargerType(domainIndex); }