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:
Huang Chaoqun
2023-09-19 03:22:55 +00:00
committed by Tao Huang
parent 629252c396
commit dcec32c361
+1 -1
View File
@@ -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;