Lines Matching defs:level
129 int level;
1165 * ab8500_fg_capacity_level() - Get the battery capacity level
1168 * Get the battery capacity level based on the capacity in percent
1240 "Waiting in cap to level %d%%\n",
1297 di->bat_cap.level = ab8500_fg_capacity_level(di);
1299 if (di->bat_cap.level != di->bat_cap.prev_level) {
1301 * We do not allow reported capacity level to go up
1304 if (!(!di->flags.charging && di->bat_cap.level >
1306 dev_dbg(di->dev, "level changed from %d to %d\n",
1308 di->bat_cap.level);
1309 di->bat_cap.prev_level = di->bat_cap.level;
1312 dev_dbg(di->dev, "level not allowed to go up "
1315 di->bat_cap.level);
1785 di->bat_cap.level,
2102 * capacity_level: capacity level
2115 * capacity level UNKNOWN, since we can't calculate