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
  Battery replacement mjc 1 153 07-21-2021, 04:21 PM
Last Post: 8bit
Question Battery stops charging and NVMe and other media disconnect randomly Eey0zu6O 4 229 07-09-2021, 08:45 PM
Last Post: moonwalkers
  Battery doesn't charge mspohr 5 476 06-11-2021, 08:42 AM
Last Post: mspohr
Question Powering off & won't power back on w/o battery disconnect jimsurvak 5 1,855 11-10-2020, 08:42 PM
Last Post: wdt
  Keyboard woes continue but somewhat improved kendew 6 2,315 10-27-2020, 09:34 PM
Last Post: wdt
  Horrible screen flicker/strobe on battery power mattjb 19 10,197 09-14-2020, 03:19 AM
Last Post: m.bakhterev
  PBP Battery issues. Drainage on load with external accessories WhiteDragon 11 6,841 09-02-2020, 05:42 AM
Last Post: Nora No
Photo Pinebook Pro Battery Mod Tips and Images phuzy 6 3,650 07-11-2020, 02:55 PM
Last Post: Syonyk
  Improving charging of PBP battery james64 8 4,299 02-04-2020, 02:54 AM
Last Post: bcnaz
  Replacement battery james64 0 1,502 01-22-2020, 05:28 AM
Last Post: james64

Forum Jump:


Users browsing this thread: 1 Guest(s)