How exactly do I "mask" a service?

If your system is a Thinkpad you will succeed using tlp.

Otherwise battery management likely won’t work.