mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-07-08 17:56:11 +00:00
sbs: Hack for LGC0
The battery for the EfikaMX Smartbook reports itself as LGC0 however the battery states that it is Li-Ion.
This commit is contained in:
@@ -365,6 +365,8 @@ static inline int __chem_to_tech(const char * const chem)
|
||||
return POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
|
||||
if (!strcasecmp(chem, "SOFC")) /* Solid Oxide Fuel Cell */
|
||||
return POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
|
||||
if (!strcasecmp(chem, "LGC0")) /* Lithium Ion */
|
||||
return POWER_SUPPLY_TECHNOLOGY_LION;
|
||||
|
||||
DEBUG("Unknown Device Chemistry: %s", chem);
|
||||
return POWER_SUPPLY_TECHNOLOGY_UNKNOWN;
|
||||
|
||||
Reference in New Issue
Block a user