Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2e580ac authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: power_supply_sysfs: Add missing "BMS" type



The string definition for the BMS power supply is missing in the sysfs.
Add it.

Change-Id: I05238964dae712480ef13c18829feb2c979fa209
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 795c7f2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ static ssize_t power_supply_show_property(struct device *dev,
					  char *buf) {
	static char *type_text[] = {
		"Unknown", "Battery", "UPS", "Mains", "USB",
		"USB_DCP", "USB_CDP", "USB_ACA"
		"USB_DCP", "USB_CDP", "USB_ACA", "BMS"
	};
	static char *status_text[] = {
		"Unknown", "Charging", "Discharging", "Not charging", "Full"