Calculate the percentage of power
let's require a few more things
Render it all pretty