diff options
| author | Ed Robbins <[email protected]> | 2024-10-18 06:07:30 +0000 |
|---|---|---|
| committer | Sebastian Reichel <[email protected]> | 2024-11-10 02:33:17 +0000 |
| commit | 3287673c1d26f94845ef958090c583c46054b70d (patch) | |
| tree | f3729bf751e271c28b014a91794721f9831b4c8e /drivers/pwm/pwm-stm32.c | |
| parent | power: Switch back to struct platform_driver::remove() (diff) | |
| download | kernel-3287673c1d26f94845ef958090c583c46054b70d.tar.gz kernel-3287673c1d26f94845ef958090c583c46054b70d.zip | |
power: supply: pmu_battery: Set power supply type to BATTERY
If the power supply type is not set it defaults to "Unknown" and upower
does not recognise it. In turn battery monitor applications do not see a
battery. Setting to POWER_SUPPLY_TYPE_BATTERY fixes this.
Signed-off-by: Ed Robbins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions
