Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/hal/utils/
H A Dacpi.c286 int present_voltage; in battery_dynamic_update() local
335 present_voltage = bst.bst_voltage; in battery_dynamic_update()
358 if (((present_voltage * 10) < design_voltage) || in battery_dynamic_update()
359 (present_voltage <= 0) || in battery_dynamic_update()
360 (present_voltage > design_voltage)) { in battery_dynamic_update()
361 present_voltage = design_voltage; in battery_dynamic_update()
363 reporting_rate = (reporting_rate * present_voltage) / 1000; in battery_dynamic_update()
364 reporting_lastfull = (reporting_lastfull * present_voltage) / in battery_dynamic_update()
366 reporting_current = (reporting_current * present_voltage) / in battery_dynamic_update()