A Visual Studio Code extensions that shows a clock and the current battery state in the status bar.
Lifeline presents the time and battery level of your laptop in the bottom right of the status bar. It tries to always be the the rightmost item. By default, it displays the time on the right and the battery on the left. You can swap the positioning (and the time format) in the extension settings. It contains no styling of its own, so the status bar items will always match your theme of choice.
Lifeline will also indicate if laptop is charging. It will not show the battery status at all if one is not detected.