Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery status icon disapeared #2490

Open
stiray opened this issue Jan 23, 2025 · 12 comments
Open

Battery status icon disapeared #2490

stiray opened this issue Jan 23, 2025 · 12 comments
Labels
hardware problem Your bug has been identified as a hardware problem, not a firmware one

Comments

@stiray
Copy link

stiray commented Jan 23, 2025

Describe the bug.

Yesterday I knew I had the icon in top bar and I was able to check it.

Today I wanted to check the battery level and the icon was gone.

Are there any debug logs I could provide, as I would expect it is some trivial bug?

Reproduction

Hard to tell as the icon was there yesterday. I didnt do anything special in between, but did flash the
hackrf-2024.02.1/firmware/cpld/sgpio_if/default.xsvf in between.

Expected behavior

I expect battery status icon to be back on my screen or alternative solution to see the battery status.

Environment/versions

Latest mayhem installed.

Anything else?

One additional detail, I was testing if it can be upgraded using https://hackrf.app but never succeeded (linux). This meant quite a few plug/unplug operations on usb if this can have any connection to missing icon.

Just for any case, I have reinstalled the SD card, it doesnt help.

@stiray stiray added the bug Something isn't working label Jan 23, 2025
@WXLN

This comment has been minimized.

@gullradriel
Copy link
Member

Today I wanted to check the battery level and the icon was gone.

Check that the battery is still here, check in 'Settings/User interface" that the battery icon is no disabled.

I didnt do anything special in between, but did flash thehackrf-2024.02.1/firmware/cpld/sgpio_if/default.xsvf in between.

Should not do anything special to the battery icon.

Environment/versions

Latest mayhem installed.

What's your portapack version ?

One additional detail, I was testing if it can be upgraded using https://hackrf.app/ but never succeeded (linux). This meant quite a few plug/unplug operations on usb if this can have any connection to missing icon.

That's quite surprising. Is web serial well enabled in your browser? What browser did you try ?

@f1ghy
Copy link

f1ghy commented Jan 23, 2025

Hi, that may happend when battery is too low. Charge it, then bat icon may come back.

@stiray
Copy link
Author

stiray commented Jan 23, 2025

那个电池图标是由i2c sda scl来识别芯片的,如果有电池电量的检测芯片,就会有图标显示,如果没有,那就不会有图标

这是 Portapack H4M,昨天也能看到电池,而且我可以使用。昨天刚拿到 H4A。

It is Portapack H4M, also the battery was visible yesterday and I was able to use it. Just got H4A yesterday.

@stiray
Copy link
Author

stiray commented Jan 23, 2025

Today I wanted to check the battery level and the icon was gone.

Check that the battery is still here, check in 'Settings/User interface" that the battery icon is no disabled.

Checked this one first, the battery icon is not available for enabling / disabling. It is not there.

Environment/versions
Latest mayhem installed.

What's your portapack version ?

H4M, just got it.

One additional detail, I was testing if it can be upgraded using https://hackrf.app/ but never succeeded (linux). This meant quite a few plug/unplug operations on usb if this can have any connection to missing icon.

That's quite surprising. Is web serial well enabled in your browser? What browser did you try ?

Chromium Version 132.0.6834.83 (Official Build) snap (64-bit)

I checked but I am not aware of any special setting for serial, sorry, I am not a fan of google spyware so I am not well versed in their products, using Firefox exclusively where the site doesn't work. But I did follow the advice about setting permissions on linux, just wasnt able to find the tty device that would match. Based on creation times, it was never created, but I did see the usb information within dmesg output.

@stiray
Copy link
Author

stiray commented Jan 23, 2025

Hi, that may happend when battery is too low. Charge it, then bat icon may come back.

Will try but I am sure, it was filled beyond 50%. Will report back.

@stiray
Copy link
Author

stiray commented Jan 24, 2025

Ok, tested it, battery should be full in 12 hours. The battery icon has not shown.

@gullradriel
Copy link
Member

You know that the power switch button have to be in up position for the unit to be charging, right ?

@stiray
Copy link
Author

stiray commented Jan 25, 2025

You know that the power switch button have to be in up position for the unit to be charging, right ?

Yes sure :)

@gullradriel
Copy link
Member

So, how is your battery icon ?

@stiray
Copy link
Author

stiray commented Jan 26, 2025

So, how is your battery icon ?

Not visible. Nothing has changed, I have charged portapack full (charger is showing me amps) but doesnt help.

@zxkmm zxkmm added hardware problem Your bug has been identified as a hardware problem, not a firmware one and removed bug Something isn't working labels Jan 27, 2025
@WXLN
Copy link

WXLN commented Jan 29, 2025

According to the schematic and firmware of H4M, it will automatically obtain I2C to determine battery information after booting up. You should have (MAX17055ETB) damaged or poorly soldered. If possible, you can add an ads1110a because this chip also supports detecting battery level in the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardware problem Your bug has been identified as a hardware problem, not a firmware one
Projects
None yet
Development

No branches or pull requests

5 participants