Searched refs:battstat (Results 1 – 2 of 2) sorted by relevance
129 …sharpsl_pm.battstat.ac_status = (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN) ? APM_AC_O… in sharpsl_battery_thread()153 …if ((sharpsl_pm.battstat.ac_status == APM_AC_ONLINE) || (apm_status == APM_BATTERY_STATUS_HIGH) ||… in sharpsl_battery_thread()154 sharpsl_pm.battstat.mainbat_voltage = voltage; in sharpsl_battery_thread()155 sharpsl_pm.battstat.mainbat_status = apm_status; in sharpsl_battery_thread()156 sharpsl_pm.battstat.mainbat_percent = percent; in sharpsl_battery_thread()160 sharpsl_pm.battstat.mainbat_status, sharpsl_pm.battstat.mainbat_percent, jiffies); in sharpsl_battery_thread()164 if ((sharpsl_pm.battstat.ac_status != APM_AC_ONLINE) in sharpsl_battery_thread()165 && ((sharpsl_pm.battstat.mainbat_status == APM_BATTERY_STATUS_LOW) || in sharpsl_battery_thread()166 (sharpsl_pm.battstat.mainbat_status == APM_BATTERY_STATUS_CRITICAL))) { in sharpsl_battery_thread()178 if ((sharpsl_pm.battstat.ac_status != APM_AC_ONLINE) in sharpsl_battery_thread()[all …]
91 struct battery_stat battstat; member