robotics: implemented battery threshold as a const variable for easier reference
robotics: implemented battery threshold as a const variable for easier reference

Signed-off-by: Mihai Tudor Panu <a27de6130c5d32f5817bf40bb8b348582f37a8af@intel.com>

haoli1106/IOT,sasmita/iot-devkit-samples,Propanu/iot-devkit-samples,sasmita/iot-devkit-samples,Propanu/iot-devkit-samples,BrokenRobot123/iot-devkit-samples,Propanu/iot-devkit-samples,haoli1106/IOT,haoli1106/IOT,BrokenRobot123/iot-devkit-samples,BrokenRobot123/iot-devkit-samples