Searched refs:max_charge (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sys/arch/macppc/dev/
H A Dpm_direct.h60 unsigned int max_charge; member in struct:pmu_battery_info
H A Dapm.c171 printf("%d%% charged\n", ((info.cur_charge * 100) / info.max_charge));
306 ((batt.cur_charge * 100) / batt.max_charge);
H A Dpm_direct.c952 info->max_charge = p.data[3];
958 info->max_charge = ((p.data[4] << 8) | (p.data[5]));
965 info->max_charge = 0;
973 ((info->max_charge - info->cur_charge) * 3600)
1031 info->max_charge = 100;
1040 info->max_charge = 0;

Completed in 79 milliseconds