I had this problem before, not because I starved or didn't sleep, but doing that can cause your potassium to be imbalanced, which has nothing to do with an injury.
If you are starving, then I'm guessing that money is tight. Potassium pills are inexpensive. Have it tested and if you need to take a cheap pill every day, then so be it. If this is the problem, you wouldn't want to continue to leave it untreated because of what it can do to your heart.
I'm not a doctor, just a patient and wanted to answer since there were no other answers. Your issue seems like it could fit into this realm. Best wishes.