macro_rules! create_battery_func {
    ($fn:ident, $property:ident, $int:ident) => { ... };
}