Here is the component:
This should do what you want.
battery-capcity-indicator-module-1s-8s.fzpz (4.5 KB)
Peter