_MPSY_PROP
if (_MPSY_PROP(full_prop, &full)) {
if (_MPSY_PROP(full_design_prop, &full))
if (_MPSY_PROP(empty_prop, &empty)) {
if (_MPSY_PROP(empty_design_prop, &empty))
if (_MPSY_PROP(cur_avg_prop, &cur)) {
if (_MPSY_PROP(cur_now_prop, &cur))
#define MPSY_PROP(prop, val) _MPSY_PROP(POWER_SUPPLY_PROP_##prop, val)
if (_MPSY_PROP(full_prop, &full)) {
if (_MPSY_PROP(full_design_prop, &full))
if (_MPSY_PROP(avg_prop, &cur)) {
if (_MPSY_PROP(now_prop, &cur))
if (_MPSY_PROP(empty_prop, &empty)) {
if (_MPSY_PROP(empty_design_prop, &empty))