Add sound effect when phone device is on low battery

I’m working on a game where I want the game to play a sound effect when a device reaches low battery condition. like this Bop It does:

I want a sound/notifcation to pop up and say:
Your phone battery is running low

and play a sound effect. Is this possible?

You can use SystemInfo.batteryLevel to check the battery level:

if (0 /* 0% */ <= SystemInfo.batteryLevel && SystemInfo.batteryLevel <= 0.1f /* 10% */)
{
    /*SHOW MESSAGE & PLAY SOUND*/
}

More about SystemInfo.batteryLevel: