A system includes: a refrigerant compressor including an electric motor; a single printed circuit board (PCB); a drive that is disposed on the single PCB and that includes switches that control the application of power from a battery to the electric motor; and one or more processors disposed on the single PCB, the one or more processors configured to: determine a speed command for the refrigerant compressor based on one or more operating parameters; and actuate the switches of the drive based on the speed command.