power: supply: test-power: modify battery_voltage
healthd will voltage_now/1000 cause batteryVoltageMillivolts too small which cause BatteryStatsHistory.setBitField() error Signed-off-by: Huang Chaoqun <chaoqun.huang@rock-chips.com> Change-Id: I8da022a2b7461ac62f0cdcb34a2488a333967523
This commit is contained in:
@@ -33,7 +33,7 @@ static int battery_health = POWER_SUPPLY_HEALTH_GOOD;
|
||||
static int battery_present = 1; /* true */
|
||||
static int battery_technology = POWER_SUPPLY_TECHNOLOGY_LION;
|
||||
static int battery_capacity = 50;
|
||||
static int battery_voltage = 3300;
|
||||
static int battery_voltage = 3300000;
|
||||
static int battery_charge_counter = -1000;
|
||||
static int battery_current = -1600;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user