mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 981458 - Revise +CIEV string for battery charge indicator, r=gyeh
This commit is contained in:
parent
68190901f8
commit
1201c02cee
@ -216,7 +216,7 @@ BluetoothHfpManager::Notify(const hal::BatteryInformation& aBatteryInfo)
|
||||
int level = ceil(aBatteryInfo.level() * 5.0);
|
||||
if (level != sCINDItems[CINDType::BATTCHG].value) {
|
||||
sCINDItems[CINDType::BATTCHG].value = level;
|
||||
SendCommand("+CIEV:", CINDType::BATTCHG);
|
||||
SendCommand("+CIEV: ", CINDType::BATTCHG);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user