Lines Matching refs:type
52 * @param type The battery type recieved from the hardware
57 util_get_battery_technology (const char *type)
59 if (type == NULL) {
63 if (strcasecmp (type, "li-ion") == 0 ||
64 strcasecmp (type, "lion") == 0) {
67 if (strcasecmp (type, "pb") == 0 ||
68 strcasecmp (type, "pbac") == 0) {
71 if (strcasecmp (type, "lip") == 0) {
74 if (strcasecmp (type, "nimh") == 0) {