Determine battery status and other woes.
#1
Hi,

I just got my PBP this week. And I was trying to determine the battery status.
For that I have seen some scripts online but it seems they refer to different battery types. They point to another battery device and not the cw2015-battery I have in the PBP.

And once the unit drains the battery and you restore power the Wifi interface seems be left disabled. Even toggling it and a reboot will not fix it.

The output of `acpi -V` is not very clear.

So it seems the specs of the PBP change per batch.

How can I diig up the relevant information?

Regards, Hugo.

The battery status is in /sys/class/power_supply/cw2015-battery/capacity
That is the level in %.

But I haven't yet been able to restore WiFi. There is nothing on the WLAN adapter now.
Had the same issue yesterday. It took me a lot of tinkering to get it back on.
#2
$ pwd
/sys/class/power_supply
$ ls -l
totaal 0
lrwxrwxrwx 1 root root 0 11 jun 21:30 cw2015-battery -> ../../devices/platform/ff3d0000.i2c/i2c-4/4-0062/power_supply/cw2015-battery
lrwxrwxrwx 1 root root 0 18 jan 2013 dc-charger -> ../../devices/platform/dc-charger/power_supply/dc-charger
lrwxrwxrwx 1 root root 0 18 jan 2013 tcpm-source-psy-4-0022 -> ../../devices/platform/ff3d0000.i2c/i2c-4/4-0022/power_supply/tcpm-source-psy-4-0022
$ cd cw2015-battery
$ ls -l
totaal 0
-r--r--r-- 1 root root 4096 19 jun 05:22 capacity
-r--r--r-- 1 root root 4096 19 jun 14:07 charge_counter
-r--r--r-- 1 root root 4096 19 jun 05:22 charge_full
-r--r--r-- 1 root root 4096 19 jun 05:22 charge_full_design
-r--r--r-- 1 root root 4096 19 jun 05:22 current_now
lrwxrwxrwx 1 root root 0 19 jun 14:07 device -> ../../../4-0062
drwxr-xr-x 3 root root 0 11 jun 21:30 hwmon4
drwxr-xr-x 2 root root 0 19 jun 14:07 power
-r--r--r-- 1 root root 4096 19 jun 05:22 present
-r--r--r-- 1 root root 4096 11 jun 21:30 status
lrwxrwxrwx 1 root root 0 11 jun 21:30 subsystem -> ../../../../../../../class/power_supply
-r--r--r-- 1 root root 4096 19 jun 05:22 technology
-r--r--r-- 1 root root 4096 19 jun 14:07 time_to_empty_now
-r--r--r-- 1 root root 4096 11 jun 21:30 type
-rw-r--r-- 1 root root 4096 11 jun 21:30 uevent
-r--r--r-- 1 root root 4096 19 jun 05:22 voltage_now
drwxr-xr-x 2 root root 0 11 jun 21:30 wakeup9
$ cat capacity
40

It seems Wifi is only started if I login as normall user on the graphical console.
Is there a way to change that?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Lithium Battery Connector Franestra 0 106 04-02-2024, 01:52 AM
Last Post: Franestra
  Bad replacement battery? chris88233 3 352 02-19-2024, 04:59 PM
Last Post: tllim
  Bypassing the Battery gilwood 0 221 02-01-2024, 10:45 AM
Last Post: gilwood
  PBPro Battery specification Perl6_user 3 534 12-26-2023, 04:28 PM
Last Post: DrYak
  Replacement battery for PineBook Pro DrYak 3 1,030 11-07-2023, 10:09 AM
Last Post: DrYak
  Battery replacement mjc 2 2,845 09-26-2023, 01:08 AM
Last Post: david-lechner
  Battery drain when off srs5694 1 1,000 03-24-2023, 06:05 PM
Last Post: KC9UDX
Question Battery stops charging and NVMe and other media disconnect randomly Eey0zu6O 4 4,733 07-09-2021, 08:45 PM
Last Post: moonwalkers
  Battery doesn't charge mspohr 5 5,264 06-11-2021, 08:42 AM
Last Post: mspohr
Question Powering off & won't power back on w/o battery disconnect jimsurvak 5 5,355 11-10-2020, 08:42 PM
Last Post: wdt

Forum Jump:


Users browsing this thread: 1 Guest(s)