Is there poor contact?
Repair the poor contact.
A temporary poor contact of the power switch circuit connector or harness may be the cause.