@@ 22,5 22,5 @@ INSERT OR IGNORE INTO settings_tab (path, value) VALUES
('bt_device_visibility', '0'),
('bt_device_name', 'PurePhone'),
('bt_bonded_devices', ''),
- ('battery_critical_level', '10');
+ ('battery_critical_level', '0');
@@ 366,9 366,11 @@ namespace bsp::battery_charger
batteryRetval fillConfig2RegisterValue()
{
- std::uint16_t regVal = static_cast<std::uint16_t>(CONFIG2::dSOCen) | // SOC 1% change alert
- static_cast<std::uint16_t>(CONFIG2::TAlrtEn) | // Temperature alerts
- static_cast<std::uint16_t>(CONFIG2::OCVQen); // Enable automatic empty compensation
+ std::uint16_t regVal =
+ static_cast<std::uint16_t>(
+ CONFIG2::dSOCen) | // SOC 1% change alert
+ // static_cast<std::uint16_t>(CONFIG2::TAlrtEn) | // Temperature alerts
+ static_cast<std::uint16_t>(CONFIG2::OCVQen); // Enable automatic empty compensation
if (fuelGaugeWrite(Registers::CONFIG2_REG, regVal) != kStatus_Success) {
LOG_ERROR("fillConfig2RegisterValue failed.");