You may be able to view the battery status of a wireless Bluetooth mouse and keyboard
from within (or linked through) the Bluetooth icon which can be made to appear in Finder
main window upper right side. Both items should be a little faster to view, via this path,
than going into System Preferences> Keyboard, Mouse, etc.
Haven't see a third-party application or widget that could show the battery life remaining
in the computer or in an iDevice's external BT wireless peripherals. There may be one.
A widget by name iStat Pro used to offer a means to see these items, but not in the last
version, and the company who made the original great one, no longer exists as such.
Good luck & happy computing! 🙂