Battery problem

Sometimes when I try to start my ranger the battery acts like its dead then all of a sudden it kicks right over. Could it be that I left my blue tooth plugged into the ciggerett lighter outlet and maybe drain the battery
0