Or could just be a faulty battery. When my 2010 Dakota was barely two years old (when I bought it), it had a bad battery with under 30k on the clock. It was really weak when I bought it, but it was March, assumed it was just the cold and needed some good driving to get all charged again. After driving around a bit, it started much better. But after letting it sit overnight, it would barely start in the morning.
Got it tested at Advance Auto (free of course), battery was way below what it should be. Went to the $tealership where I bought it, and they replaced it for free.