diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 20:09:45 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-04-28 20:09:45 +0000 |
commit | e94aa477b4864e27846dfa6dcaf9c897a1008299 (patch) | |
tree | 1028b68030ef261bdbe714e831937244ce35963c /navit/attr_def.h | |
parent | af7aec0b66fe0edd790cff3b4c57ce8790ccf080 (diff) | |
download | navit-svn-e94aa477b4864e27846dfa6dcaf9c897a1008299.tar.gz |
Add:Core:Attributes for battery monitoring
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5462 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/attr_def.h')
-rw-r--r-- | navit/attr_def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/navit/attr_def.h b/navit/attr_def.h index bb385660..d5c020e2 100644 --- a/navit/attr_def.h +++ b/navit/attr_def.h @@ -175,6 +175,13 @@ ATTR(street_count) ATTR(min_dist) ATTR(max_dist) ATTR(cache_size) +ATTR(battery_voltage) /* mV */ +ATTR(battery_current) /* mA */ +ATTR(battery_capacity) /* Wh */ +ATTR(battery_capacity_rel) /* ppm */ +ATTR(battery_charge) /* mAh */ +ATTR(battery_resistance) /* mOhm */ +ATTR(battery_temperature) /* mK */ ATTR2(0x00027500,type_rel_abs_begin) /* These attributes are int that can either hold relative * * or absolute values. A relative value is indicated by * |