Apple’s included Lightning cable just seems to fall short of useful. Maybe that is because it is too short. The charging cable that comes with your iPhone, iPad, and iPod touch is only about 3 feet long. If your wall plug is right next to your bed, then you will be OK, but otherwise, you need extra feet.
Amazon makes an MFi-certified Lightning cable that is six feet long, twice the length of Apple’s. So, if you need the extra length, or just want a second cable, Amazon has you covered.