Go to an auto parts store that will diagnose your charging system for free.
Test with the PC off first, the on.
That will tell you what to look for as a solution.
Three parts that need to work well for the charging system:
Voltage regulator (often overlooked)
BTW: searching would have shown you similar threads with the same advice.
carputer reboot issue