location_accuracy and battery_level should be integers