Skip to content

Commit 05599b5

Browse files
committed
Merge power-supply fixes for 6.7 cycle
Merge power-supply fixes branch, which I never send for the v6.7 cycle. Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
2 parents b150a70 + f376691 commit 05599b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/power/supply/cw2015_battery.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ static int cw_battery_get_property(struct power_supply *psy,
491491

492492
case POWER_SUPPLY_PROP_TIME_TO_EMPTY_NOW:
493493
if (cw_battery_valid_time_to_empty(cw_bat))
494-
val->intval = cw_bat->time_to_empty;
494+
val->intval = cw_bat->time_to_empty * 60;
495495
else
496496
val->intval = 0;
497497
break;

0 commit comments

Comments
 (0)