from_string


Description:

public static Technology from_string (string technology)

Converts a string to a battery technology.

Possible values are NiMH, Li-ion, Li-poly, LiFe, NiCd, and LiMn . Anything else will return UNKNOWN.