title: How to show battery status in Zsh prompt
body: <p>I think the answer is quite self explanatory.</p>
  
  <p>I've been looking around for a software that already does this but I haven't had any luck. It's either not done in Zsh, or it's for another app, for example tmux. Point is I haven't been able to find it.</p>
  
  <p>So my question is, is there already a pre-made script that somebody did that does this? If there is, could you please share a link to it.</p>
  
  <p>If there isn't, what should I look into to making this script? I'm a newbie at Zsh scripting so bear that in mind.</p>
  
  <p>The idea is that it outputs something along the lines of <code>67%</code>. You get the point. ;)</p>