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

Commit d020c366 authored by Len Brown's avatar Len Brown
Browse files

Pull battery-2.6.24 into release branch

parents 6790acb1 ad40e68b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ static int acpi_battery_technology(struct acpi_battery *battery)
		return POWER_SUPPLY_TECHNOLOGY_NiMH;
	if (!strcasecmp("LION", battery->type))
		return POWER_SUPPLY_TECHNOLOGY_LION;
	if (!strcasecmp("LI-ION", battery->type))
	if (!strncasecmp("LI-ION", battery->type, 6))
		return POWER_SUPPLY_TECHNOLOGY_LION;
	if (!strcasecmp("LiP", battery->type))
		return POWER_SUPPLY_TECHNOLOGY_LIPO;