Home | History | Annotate | Download | only in charger

Lines Matching refs:battery

129     struct power_supply *battery;
304 if (!charger->battery)
307 ret = read_file_int(charger->battery->cap_path, &batt_cap);
425 bool battery = false;
444 if (!strncmp(ps_type, "Battery", 7))
445 battery = true;
463 /* only pick up the first battery for now */
464 if (battery && !charger->battery)
465 charger->battery = supply;
471 if (charger->battery == supply)
472 charger->battery = NULL;
486 /* allow battery to be managed in the supply list but make it not
488 if (!battery) {
496 uevent->ps_name, ps_type, battery ? "" : online ? "online" : "offline",
749 LOGV("[%lld] animation missing or unknown battery status\n", now);