public void UpdateBattery() { // Just for safety, in case front-end submit request at the same time UInt16 value; byte power; UBT.CheckBattery(out value, out power); UIUpdateBattery(value, power); }