Function gvr_sys::gvr_controller_state_get_battery_level [] [src]

pub unsafe extern "C" fn gvr_controller_state_get_battery_level(
    state: *const gvr_controller_state
) -> i32

Returns the bucketed controller battery level. Note this is a gvr_controller_battery_level and not a percent.