How to unstack windows i3 window?

You can switch between three modes:

  • $mod+S for stacking mode
  • $mod+W for tabbed mode
  • $mod+E for standard mode (aka splith/splitv - the one you seek)

More info on the User Guide.

How to show battery percentage on i3bar?

sudo apt install i3xrocks-battery