It comes from here. The project displays as an example a colourful battery level indicator. Lib files are in the /files folder of the B4A project. The indicator will only update/redraw when the integer value of the battery level changes up or down. The project uses inline Java code to extract the battery level.