This will drain your battery. Better is to use GNU/Linux natively, e.g. Fedora, Ubuntu.
I would think that one would get better battery life from running it in a VM, especially a headless one compared to running Linux 'natively' mainly because Linux desktop is notorious for worse battery life than Mac/Windows.
(yes there are ways to improve the out-of-the box battery life of Linux but that's another topic)