Lines Matching refs:charge
467 "charge", CTLTYPE_INT | CTLFLAG_RD, sc,
469 "I", "Battery charge (mAh)");
907 info->charge = resp[3];
922 info->charge = (resp[3] << 8) | resp[4];
1039 result = batt.charge;
1051 /* Time remaining until full charge/discharge, in minutes */
1054 result = (batt.maxcharge - batt.charge) /* mAh */ * 60
1057 result = (batt.charge /* mAh */ * 60)
1061 /* Battery charge fraction, in percent */
1062 result = (batt.charge * 100) / batt.maxcharge;