How it possible to change pictures of power level?

Hello,
How it possible to change pictures of power level of the accum (for example) on the top of
display, one picture to one level (0-25%, 25-50%, 50-75% and 75-100%).

There are 2state buttons (val=0,1), but I need more states.

Thank you.

Hi
It can be achieved in several ways.
I’m using a picture in my projects. On which several sprites are drawn that display the battery status. Using the timer and xpic function, I display a sprite that corresponds to the battery charge value. Litte magic with math and index can be done in one line.