uint8_t custom character variables

I have 6 variations to a row of pixels (bar graph):

B1 = (one of the following)

0x0
0xf0
0xf8
0x1c
0x1e
0x1f

But I need these to be interchanged in uint8_t battery[8] = {B1,B2,B3,B4,B5,B6,B7,B8} depending on voltage.
There are 8 cells in the battery. Cell 2 would be B2 row of the custom character and so on.

I have tried many ways but cant get it to work. Any ideas?

Well, to set one you would use:
battery[2] = 0x1c;for example.

We can't mind read the rest of it, we can only make wild guesses. So please post all your code, in code tags.