What is the meaning of [Wake Up on the Wrong Side of the Bed]

Be grumpy or ill-humored. Generally used in past tense