Skip to content

Pi Top Notes

The Pi Top is, as the name implies, a Raspberry Pi laptop. It has a sister product, the Pi Top CEED. whch is a 14" AIO design for the Pi.


Updates aren't that bad to do, no more challenging than on any other Pi.


Just do the following at the terminal:

    sudo apt-get update
    sudo apt-get upgrade


  1. Go to [](] and grab the zip of the disk image.
  2. Blast it onto your SD card as you see fit (their Etcher method, dd, GNOME Disks ... )
  3. Insert SD card into Pi Top's Pi.
  4. Boot
  5. Enjoy


This thing had SEVERAL bad batches of TI branded batteries that went out early on. The fix, if it can be applied, boils down to two parts.

  • Software
  • Firmware


For the software, just keep your OS up to date. That simple.

    sudo apt-get update
    sudo apt-get upgrade


For the firmware, this is where things can go sour fast if the battery is toast. Source material links will be below. The following steps can be used to get the battery back into operation as it should be.

  • UPDATE : Contact PiTop if there are any battery problems. There are early batteries for G1, G2 PiTops that were flaky, and the issue has been nailed down and fixed. In some cases, this means a replacement battery. If the firmware update doesnt work, contact PiTop directly.

  • If you haven't already done so, get the battery monitor for LXDE. This will help see what is going on. To do so, open up a terminal and issue the following commands:

    cd ~/Downloads
    git clone --depth 1
    sudo apt-get install wiringpi
    cd pi-top-battery-status
    chmod +x install
    sudo systemctl reboot
  • Download firmware update tool.

    cd ~/Downloads
    sudo chmod a=r+w+x pt-battery-fw-update
  • Update the firmware Run the following command repeatedly, and aim to stop only after 5-10 successful patches. The repeated attempts are due to the way that the Pi interfaces over i2c. This is from the Pi Top team's mouth.

    sudo ./pt-battery-fw-update -d


ZRAM is a form of memory compression for Linux kernels to use when managing RAM. This is similar to the old RAM doublers for Windows back in the day. Some performance gains, but it is very hit and miss if you get much out of it. My attitude is why not? Its free, unlike the old Windows crapware.

Below in the references section are both my source of this particular script, and a link to the Wikipedia article on what ZRAM is.

To accomplish this on a Pi3 based Pi Top, create the following shell script (, and run it (copy/paste is the easiest here):


    # Raspberry Pi ZRAM script
    # Tuned for quad core, 1 GB RAM models
    # put me in /etc/init.d/ and make me executable
    # then run "sudo update-rc.d defaults"

    modprobe zram
    echo 3 >/sys/devices/virtual/block/zram0/max_comp_streams
    echo lz4 >/sys/devices/virtual/block/zram0/comp_algorithm
    echo 268435456 >/sys/devices/virtual/block/zram0/mem_limit
    echo 536870912 >/sys/devices/virtual/block/zram0/disksize
    mkswap /dev/zram0
    swapon -p 0 /dev/zram0
    sysctl vm.swappiness=70

Then as the comments in the script instruct:

    sudo cp /etc/init.d/
    sudo chmod +x /etc/init.d/
    sudo update-rc.d defaults

Thats, it!

REFERENCES - Pi Top main page - Pi Top OS download page - PiTop Setup tools for Raspbian - Wikipedia article on ZRAM - ZRAM script