Home
last modified time | relevance | path

Searched refs:mainbat_status (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm/mach-pxa/
H A Dsharpsl_pm.h61 int mainbat_status; /* APM Main Battery Status */ member
H A Dsharpsl_pm.c254 sharpsl_pm.battstat.mainbat_status = apm_status; in sharpsl_battery_thread()
259 sharpsl_pm.battstat.mainbat_status, sharpsl_pm.battstat.mainbat_percent, jiffies); in sharpsl_battery_thread()
263 && (sharpsl_pm.battstat.mainbat_status == APM_BATTERY_STATUS_CRITICAL) in sharpsl_battery_thread()
434 if (sharpsl_pm.battstat.mainbat_status != APM_BATTERY_STATUS_HIGH) { in sharpsl_average_value()
807 info->battery_status = sharpsl_pm.battstat.mainbat_status; in sharpsl_apm_get_power_status()