-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[System Monitor] ... Battery level bug #15996
Comments
Thank you for opening this issue! 🔔 @hossammourad @lucasmezencio @pernielsentikaer @lucasmezencio you might want to have a look. 💡 Author and Contributors commandsThe author and contributors of
|
Hey @thaufiqsiraj! Thanks for raising this issue. :) Could you please paste the output of the following command? /usr/sbin/ioreg -arn AppleSmartBattery Thanks! |
/usr/sbin/ioreg -arn AppleSmartBattery AdapterDetails AdapterID 0 AdapterRevision 0 FamilyCode 0 SerialNumber 0 AdapterInfo 0 Amperage -1889 AppleRawAdapterDetails AdapterID 0 AdapterRevision 0 FamilyCode 0 SerialNumber 0 AppleRawCurrentCapacity 6974 AppleRawMaxCapacity 8747 AvgTimeToEmpty 221 AvgTimeToFull 65535 BatteryData AdapterPower 850930859 CellVoltage 3824 3888 3874 CycleCount 137 DesignCapacity 8755 LifetimeData UpdateTime 1734876862 PMUConfigured 0 Qmax 8755 8755 8755 Serial D868236N06SFWLKvw StateOfCharge 80 SystemPower 2704 Voltage 11805 BatteryInstalled BatteryInvalidWakeSeconds 30 BootPathUpdated 1733983129 ChargerData ChargingCurrent 0 ChargingVoltage 12592 NotChargingReason 1 CurrentCapacity 6974 CycleCount 137 DesignCapacity 8755 DesignCycleCount70 33334 DesignCycleCount9C 1000 DeviceName bq20z451 ExternalChargeCapable ExternalConnected FirmwareSerialNumber 5901 FullPathUpdated 1734876803 FullyCharged IOGeneralInterest IOCommand is not serializable IOObjectClass AppleSmartBattery IOObjectRetainCount 6 IORegistryEntryID 4294967899 IORegistryEntryName AppleSmartBattery IOReportLegend IOReportChannelInfo IOReportChannelUnit 0 IOReportChannels 7167869599145487988 6460407809 BatteryCycleCount IOReportGroupName Battery IOReportLegendPublic IOServiceBusyState 0 IOServiceBusyTime 52783 IOServiceState 30 InstantAmperage -1830 InstantTimeToEmpty 166 IsCharging LegacyBatteryInfo Amperage -1889 Capacity 8747 Current 6974 Cycle Count 137 Flags 4 Voltage 11547 Location 0 Manufacturer SMP ManufacturerData AAAAAAcCAAoDiQAAA0o0NAMwMEEDU0RJAS0A MaxCapacity 8747 MaxErr 1 OperationStatus 58439 PackReserve 200 PermanentFailureStatus 0 PostChargeWaitSeconds 120 PostDischargeWaitSeconds 120 Serial D868236N06SFWLKvw Temperature 2981 TimeRemaining 221 UpdateTime 1734876862 UserVisiblePathUpdated 1734876862 Voltage 11547 |
@thaufiqsiraj that's interesting. Could you please try another command? pmset -g batt | grep -Eo '\d+%' | tr -d '%' Thanks. |
pmset -g batt | grep -Eo '\d+%' | tr -d '%' |
Extension
https://www.raycast.com/hossammourad/raycast-system-monitor
Raycast Version
1.88.4
macOS Version
12.7.6
Description
The power menu in this extension gets a 4 digit number for Battery Level like 6150% etc, I keep getting this error even if I uninstall and install the extension. Four digit percentage instead of the actual one. The following image is my current Power information.
Steps To Reproduce
Current Behaviour
Shows four digit battery percentage maybe unrelated to actual percentage
Expected Behaviour
Should've shown 2 digit battery percentage (or 3 digit in case of 100%)
The text was updated successfully, but these errors were encountered: