require "android" l = android.getBatteryLevel() text = "Battery Level: "..tostring(l) android.makeToast(text)