Improving repairability in cordless vacuum cleaners