Can you make your own battery pack?

Connected to HyperGear Power Bank:

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_ONLINE=0
POWER_SUPPLY_PRESENT=0
POWER_SUPPLY_CURRENT_MAX=500000
POWER_SUPPLY_VOLTAGE_MAX=5000000

Not connected to HyperGear Power Bank:

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_ONLINE=0
POWER_SUPPLY_PRESENT=0
POWER_SUPPLY_CURRENT_MAX=500000
POWER_SUPPLY_VOLTAGE_MAX=5000000

When plugged into electric outlet (power-off required to make charging LED illuminate; then power-on again. Due to this ongoing issue.):

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_USB_TYPE=SDP DCP CDP C [PD]
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CURRENT_MAX=1500000
POWER_SUPPLY_VOLTAGE_MAX=12000000

Disconnected from electric outlet:

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_USB_TYPE=SDP [DCP] CDP C PD
POWER_SUPPLY_ONLINE=0
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CURRENT_MAX=1500000
POWER_SUPPLY_VOLTAGE_MAX=5000000

When connected to electric outlet, but without the aforementioned power-off-then power-on trick to force charging to start; no charging LED illuminated):

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_USB_TYPE=SDP DCP CDP [C] PD
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CURRENT_MAX=3000000
POWER_SUPPLY_VOLTAGE_MAX=5000000

2 Likes

I noticed today that a place where I frequently shop sells solar power banks (from a different brand), so maybe Iā€™ll pick one up soon and report back here.

1 Like

OK, so that looks like complete failure to interoperate, right? No difference at all when you then disconnect the powerbank, right?

Iā€™m assuming that you are using a USB-A to USB-C cable. I guess you should try the USB-C end in both orientations. (If using a USB-A to USB-C adapter with a USB-C to USB-C cable then same challenge but 4 orientations.)

Unfortunately I donā€™t have a powerbank in order to illustrate what it should say and/or confirm that it can work. Maybe someone else does.

1 Like

Oh wowā€¦

The first time around I was using the USB-A to micro-USB cable that came with the power bank, plus an adapter to USB-C, which yielded the result above (output 1).

I just tried again, testing two different orientations, and this time the charging light and charging notification icon both came on immediately:

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_USB_TYPE=SDP DCP CDP [C] PD
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CURRENT_MAX=1500000
POWER_SUPPLY_VOLTAGE_MAX=5000000

State is shown as ā€œChargingā€ in the Power Statistics app.

And with my Sony Android cable (no adapter required) in either orientation, I get the charging light, but not the charging notification:

~$ cat /sys/class/power_supply/tps6598x-source-psy-0-003f/uevent
POWER_SUPPLY_NAME=tps6598x-source-psy-0-003f
POWER_SUPPLY_TYPE=USB
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_CURRENT_MAX=500000
POWER_SUPPLY_VOLTAGE_MAX=5000000

State is shown as ā€œDischargingā€ in the Power Statistics app.

When I first tried the power bank today, I left the cable somewhat coiled and bound with a rubber band, rather than stretching it out to connect, so possibly that was an issue. Either that, or my phone is just temperamental. (Entirely possible, given several issues Iā€™ve had with it, as described in other posts.)

:man_shrugging:

3 Likes

So, rejoice, allā€¦ Iā€™m charging my L5 from a solar power bank, using the energy stored from earlier sun exposure, and currently from a lamp in my living room.

Letā€™s go camping with our L5s, eh?

4 Likes

Thatā€™s small progress then! That (1.5A @ 5V) should be more than enough to run the Librem 5 while leaving some for battery charging.

This would still say that, if starting from scratch, you would buy a powerbank that supports USB PD 3.0. (For example, ā€œmeā€ :wink:, since I donā€™t own a powerbank.)

2 Likes

How to interpet it, actually?

1 Like

Enjoy your first walkabout with the L5! :sunny:

2 Likes

Iā€™m not sure what your question means but if it refers to the formatting of the output for POWER_SUPPLY_USB_TYPE then I agree that it is not very user friendly. Basically the square brackets enclose the actual option that is being used. So regardless of what options are listed, you want to see [PD] among the options but that will never happen unless both ends support USB PD and they successfully negotiate it. Instead you are just getting vanilla power via USB port (which it is referring to as [C] because the phone has a USB-C port but really it applies to any USB port going all the way back to much earlier standards).

2 Likes

@irvinewade and @dos
What I find interesting, though, is that connecting to the power bank when the phone is powered on, immediately initiates charging.

Conversely, when I connect the powered-on L5 to an electric outlet, charging simply will not start unless and until I power down. And it has been that way for many months.

1 Like

It seems to me like the best way to accomplish this would be to mount everything to a printed circuit board. One side of the board could be the regular Librem 5 battery glued tightly to the PCB. Very thin film contactors could go down in to the battery cavity, to deliver a power connection to the top side of the PCB. The top side of the PCB could include a small area to mount a handfull of small electronic components to act as the battery management system, and to boost the charging voltage as high as needed, to satisfy the additional batteryā€™s charging voltage requirements. Most of the top side of the board would be to host battery clips mounted on to the board to snap in individual lithium-ion batteries to. With the control circuitry and additional batteries all mounted on to a PCB, the phoneā€™s access to power would only be limited by how much additional thickness you want to add to the phone. If using a 18650 battery size, you could get a lot more than 10000 mAh added by adding about three quarters of an inch to the thickness of the phone. Each 18650 battery can store 3500 mAh of power and is about the size of an AA battery. You might get eight or more batteries mounted to the board. Someone would need to print a case to enclose everything on the back side of the phone.

1 Like

I went on a trip earlier this year where I brought 4 batteries fully charged to a cabin with no electricity. Was fine, at the end of 4 days I still had like 2 batteries to go. I made a web page from the cabin and sent it to friends. It was great.

But, I think a custom back that itself had slots intended for replaceable batteries might add a lot of user comfort, hence the topic.

2 Likes

By this you mean to the Purism-supplied charger?

Have you tried taking the battery out for a cold start of everything? Or the long reset (longest reset)?

Itā€™s probably one for @dos though.

1 Like

On further observation, the L5, connected to the power bank and placed directly under a lamp, stopped charging after a while. I imagine this means that the stored energy from earlier sun exposure became depleted, and the light from the lamp wasnā€™t enough to continue charging, and the L5 started draining again.

A more ā€œpowerfulā€ solar power bank might perform better, and/or accumulate more stored energy, I suppose. In any case, daytime direct sunlight exposure is likely enough to ensure charging. Will test tomorrow.

1 Like

Yes, of course.

Everything I could think of.
:man_shrugging:

2 Likes

Treating the lamp in isolation, I am pretty sure that is correct. Letā€™s suppose you are in the 21st century :wink: and all your lamps are energy efficient. A typical wattage (power consumption of the lamp) might be 9W, of which not all of that comes out as light. Then your typical light-to-electricity conversion in the PV is poor efficiency (say 10%-20%, unless you know otherwise). Convert that to current at 5V.

In any case, Conservation of Energy says that thereā€™s not enough to run the phone.

Of course, itā€™s a little more complex than that because I imagine that you were not in a darkened room, and so some light is coming from a source other than the lamp.

But then there are also other losses in the system e.g. in charging and discharging batteries. 85% efficient?

In any case, the starting point would be to know what the wattage of the PV panel is. Itā€™s probably fairly small but it may be enough. That is, you want to know what the weakest link is.

2 Likes

Solar power can charge the battery. But using a solar battery small enough to mount on to the back of the phone is way too small to contribute any noticable charge to the battery. Itā€™ll take about 1 foot by 3 feet or more of solar panel to charge the phone, even slowly. Youā€™ll also need a charge controller matched to the phoneā€™s charging needs.

Here is a link to a good wall charger. It charges my Librem 5 faster than the charger that came with the phone, while also quick charging my Samsung phone at the same time.

https://a.co/d/iFwmXv5

1 Like

The idea of a solar-charging backplate is apparently not so far-fetched, although the L5 is, of course, vastly different from smartphones in its energy requirements. Maybe the best we could hope for is prolonging the discharge phase a little.

A portable (separate piece) solar power bank with enough power to keep the battery alive would still have a lot of practical benefits, though.

Great concept, but Iā€™m wary of electronics with unpronounceable alphabet-soup names. :wink: And, of course, itā€™s outside the scope of this thread, since it requires an electric outlet.

1 Like

For strictly emotional satisfaction purposes for those who do not understand the technical significance or complete lack thereof, mounting a solar panel on the back side of the phone is a great idea.

I guess if you want to leave your phone out in the sun unused for several weeks, you might get an extra minute or two of use of the phone afterward. But the night time drawdown of the battery will more than offset the gains from solar charging. So be sure to turn the phone off every night, take it inside, plug it in, and charge it just enough overnight, to take over only where the battery was in its state of charge from when the sun set that same day. Otherwise, you might accidentally charge it fully, thus nagating the benefits of solar charging.

1 Like

You could improve that situation slightly with fold out mirrors associated with the PV back panel. :slight_smile:

1 Like