Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Dell XPS 15 battery life

  1. #1
    Join Date
    Sep 2011
    Beans
    18

    Dell XPS 15 battery life

    Hey all,

    I have the following laptop:
    Dell XPS 15
    Videocard: GT540m 2gb
    Processor: i7 2630qm
    RAM: 6gb

    I've just installed 11.10. After that my battery life was about 2 hours, slightly less. After that I've done the following two things which should've increased my battery life:
    - Installed bumblebee (it seems to work because if I run optirun glxgears the gears show up)
    - Added GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force i915.i915_enable_rc6=1" in /etc/default/grub

    After that my battery life should've increased drastically to ~ 6 hours, but it still only is around 2 hours..

    Kind regards,
    Meikrekel

  2. #2
    Join Date
    Apr 2011
    Beans
    15

    Re: Dell XPS 15 battery life

    Quote Originally Posted by Meikrekel View Post
    Hey all,

    I have the following laptop:
    Dell XPS 15
    Videocard: GT540m 2gb
    Processor: i7 2630qm
    RAM: 6gb

    I've just installed 11.10. After that my battery life was about 2 hours, slightly less. After that I've done the following two things which should've increased my battery life:
    - Installed bumblebee (it seems to work because if I run optirun glxgears the gears show up)
    - Added GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force i915.i915_enable_rc6=1" in /etc/default/grub

    After that my battery life should've increased drastically to ~ 6 hours, but it still only is around 2 hours..

    Kind regards,
    Meikrekel
    From the information you have gave, it looks like you haven't set up bumblebee to manage your card.

    Have you created a 'cardoff' and 'cardon' file with the correct calls for your Nvidia card ?

  3. #3
    Join Date
    Sep 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    No I haven't done that, the instructions I followed didn't say that I had to do that. Can you tell me how to do that?

  4. #4
    Join Date
    Apr 2011
    Beans
    15

    Re: Dell XPS 15 battery life

    By following the guide on this site I have got mine working with 6-7 hours battery life.

    http://www.ivegotavirus.com/blog/201...11-10-oneiric/

    I have exactly the same laptop as you so it should work fine.

  5. #5
    Join Date
    Sep 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    I've followed the instructions on that site, but my battery life is still only around the 2 hours

    EDIT:

    The output of
    watch grep rate /proc/acpi/battery/BAT0/state

    did change from ~3750 to ~2500 mA
    Last edited by Meikrekel; November 20th, 2011 at 07:09 PM.

  6. #6
    Join Date
    Nov 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    Can you post the output of this command to see if your card is being turned off

    Code:
    lspci -d 10de: -vvnn
    Also did you try the Intel commands?
    Last edited by Epinephrin3; November 21st, 2011 at 08:31 PM.

  7. #7
    Join Date
    Sep 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    I did try the intel commands.

    Here is the output of the command you suggested:

    Code:
    wouter@Wouter-ubuntu:~$ lspci -d 10de: -vvnn
    01:00.0 VGA compatible controller [0300]: nVidia Corporation GF106 [GeForce GT 555M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device [1028:050e]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 3000 [size=128]
        Expansion ROM at f1000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nvidia_current, nouveau, nvidiafb
    
    wouter@Wouter-ubuntu:~$

  8. #8
    Join Date
    Apr 2011
    Beans
    15

    Re: Dell XPS 15 battery life

    Quote Originally Posted by Meikrekel View Post
    I did try the intel commands.

    Here is the output of the command you suggested:

    Code:
    wouter@Wouter-ubuntu:~$ lspci -d 10de: -vvnn
    01:00.0 VGA compatible controller [0300]: nVidia Corporation GF106 [GeForce GT 555M] [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Dell Device [1028:050e]
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at f0000000 (32-bit, non-prefetchable) [size=16M]
        Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
        Region 3: Memory at d0000000 (64-bit, prefetchable) [size=32M]
        Region 5: I/O ports at 3000 [size=128]
        Expansion ROM at f1000000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nvidia_current, nouveau, nvidiafb
    
    wouter@Wouter-ubuntu:~$
    Your power usage has gone down because of the intel commands but your Nvidia card is still on, this is because you are using the nouveau driver when you should be using the Nvidia.

    Try completely removing bumblebee then reinstalling using that guide, also if you have the restricted Nvidia drivers remove them.

    If I was you I would just do a full reinstall of Ubuntu as completely removing bumblebee is a pain in the ***, if this isn't an option try what I said but if you run into any problems its probably because bumblebee never uninstalled properly.

  9. #9
    Join Date
    Sep 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    That's strange, here's what I did:

    - reinstalled ubuntu 11.10
    - update all programs
    - followed your tutorial

    I haven't installed that driver? And because of that a reinstall would be.. strange(?), because the same thing would just happen again I guess

  10. #10
    Join Date
    Nov 2011
    Beans
    18

    Re: Dell XPS 15 battery life

    When the option appeared to activate the restricted Nvidia drivers (usually the first time u log in after a new install) did you choose to active them?

    Also you did say in your original post;
    I've just installed 11.10. After that my battery life was about 2 hours, slightly less. After that I've done the following two things which should've increased my battery life:
    - Installed bumblebee (it seems to work because if I run optirun glxgears the gears show up)
    - Added GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=force i915.i915_enable_rc6=1" in /etc/default/grub
    So it sounds like you had already install Bumblebee before you followed the tutorial on ivegotavirus.com ?

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •