I have a Dell XPS 17 (L702X) and the problem is that whenever I use the laptop on battery without it connected to AC it will only work for a random amount of time before it will suddenly shut down. This has been happening for a number of months now. The battery is new as I bought it a week ago—along with a new hard drives—and it still does this.
On AC power I can use the laptop for as long as I wish without it shutting down unexpectedly. The shutdown is hasted by how much I use the laptop for example it can be a hour or so if just left alone with just the desktop on screen. But if i play a game it will be maybe about 15 minutes.