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

Apple Bluetooth keyboard battery level meter is false #2

Open
GoogleCodeExporter opened this issue Aug 14, 2015 · 5 comments
Open

Apple Bluetooth keyboard battery level meter is false #2

GoogleCodeExporter opened this issue Aug 14, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Just start btbatstat

What is the expected output? What do you see instead?
It should display the same battery level info that system preferneces gives, 
but only the mouse battery level is correct the keyboard battery level is 
always less than the real value

What version of the product are you using? On what operating system?
10.7 Lion, imac and macbook

Please provide any additional information below.


Original issue reported on code.google.com by Hofi...@gmail.com on 28 Jan 2012 at 11:48

@GoogleCodeExporter
Copy link
Author

Can you please provide me some screenshots and the output of the following 
shell commands:

ioreg -rc AppleBluetoothHIDKeyboard

ioreg -n IOAppleBluetoothHIDDriver |grep -i perc

All at around the same time so I can compare the output with your screenshots.

Original comment by wiebel@gmail.com on 29 Jan 2012 at 6:54

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

I was looking for some documentation to confirm that the 'Apple Key' like icon 
was the keyboard and the other icon was the mouse and found this bug report.

I possibly have the same issue - screenshots attached.

The second shell command didn't produce anything... "ioreg -n 
IOAppleBluetoothHIDDriver |grep -i perc"

System: iMac, 2.5GHz Core i5, OS X 10.7.3

Terminal Output:

Daniels-iMac:~ Daniel$ ioreg -rc AppleBluetoothHIDKeyboard
+-o AppleBluetoothHIDKeyboard  <class AppleBluetoothHIDKeyboard, id 0x1000003d1$
  | {
  |   "PrimaryUsagePage" = 1
  |   "MaxInputReportSize" = 9
  |   "IOUserClientClass" = "IOHIDLibUserClient"
  |   "BatteryPanic" = No
  |   "VendorID" = 1452
  |   "VersionNumber" = 80
  |   "DeviceAddress" = "44-2a-60-e5-8d-0d"
  |   "HIDDescriptor" = ((34,<05010906a1018501050719e029e7150025017501950881027$
  |   "SuspendSupported" = Yes
  |   "ExtendedFeatures" = {"FullFactoryDefault"={"id"=68,"type"=2},"RecantConn$
  |   "MaxFeatureReportSize" = 4
  |   "Product" = "Daniel?s Keyboard"
  |   "SerialNumber" = "44-2a-60-e5-8d-0d"
  |   "PSM" = 17
  |   "BatteryLow" = No
  |   "Transport" = "Bluetooth"
  |   "Elements" = ({"ReportID"=0,"ElementCookie"=1,"CollectionType"=1,"Type"=5$
  |   "SetReportTimeoutMS" = 3500
  |   "BatteryLowNotificationType" = 1701538927
  |   "Manufacturer" = "Apple"
  |   "ConnectionNotificationType" = 1701536622
  |   "ProductID" = 569
  |   "IOPowerManagement" = {"MaxPowerState"=1,"CurrentPowerState"=1}
  |   "BatteryDangerouslyLowNotificationType" = 1801610348
  |   "DeviceUsagePairs" = ({"DeviceUsagePage"=1,"DeviceUsage"=6},{"DeviceUsage$
  |   "BD_ADDR" = <442a60e58d0d>
  |   "BatteryPercent" = 63
  |   "ClassOfDevice" = 9536
  |   "InputReportElements" = ({"ReportID"=1,"ElementCookie"=292,"Size"=72,"Rep$
  |   "BTHIDObjectID" = 501501440
  |   "ReportInterval" = 11250
  |   "VendorIDSource" = 2
  |   "CFBundleIdentifier" = "com.apple.driver.AppleBluetoothHIDKeyboard"
  |   "MaxOutputReportSize" = 2
  |   "IOCFPlugInTypes" = {"7DDEECA8-A7B4-11DA-8A0E-0014519758EF"="IOHIDFamily.$
  |   "IOProviderClass" = "IOBluetoothL2CAPChannel"
  |   "LocationID" = 1625656589
  |   "IOClass" = "AppleBluetoothHIDKeyboard"
  |   "DisconnectionNotificationType" = 1701536883
  |   "DeviceName" = "Daniel?s Keyboard"
  |   "HIDDefaultBehavior" = ""
  |   "CountryCode" = 33
  |   "PrimaryUsage" = 6
  |   "IOMatchCategory" = "IODefaultMatchCategory"
  |   "IOGeneralInterest" = "IOCommand is not serializable"
  |   "IOProbeScore" = 2100
  |   "GetReportTimeoutMS" = 3500
  |   "DebuggingOn" = No
  | }
  | 
  +-o IOHIDInterface  <class IOHIDInterface, id 0x1000003d5, registered, matche$
    +-o AppleEmbeddedKeyboard  <class AppleEmbeddedKeyboard, id 0x1000003d6, re$
      +-o IOHIDKeyboard  <class IOHIDKeyboard, id 0x1000003d9, registered, matc$
      | +-o IOHIDSystem  <class IOHIDSystem, id 0x100000236, registered, matche$
      |   +-o IOHIDStackShotUserClient  <class IOHIDStackShotUserClient, id 0x1$
      |   +-o IOHIDUserClient  <class IOHIDUserClient, id 0x1000003b9, !registe$
      |   +-o IOHIDParamUserClient  <class IOHIDParamUserClient, id 0x1000003ba$
      |   +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id$
      |   +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id$
      +-o IOHIDConsumer  <class IOHIDConsumer, id 0x1000003da, registered, matc$
      | +-o IOHIDSystem  <class IOHIDSystem, id 0x100000236, registered, matche$
      |   +-o IOHIDStackShotUserClient  <class IOHIDStackShotUserClient, id 0x1$
      |   +-o IOHIDUserClient  <class IOHIDUserClient, id 0x1000003b9, !registe$
      |   +-o IOHIDParamUserClient  <class IOHIDParamUserClient, id 0x1000003ba$
      |   +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id$
      |   +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id$
      +-o IOHIDSystem  <class IOHIDSystem, id 0x100000236, registered, matched,$
        +-o IOHIDStackShotUserClient  <class IOHIDStackShotUserClient, id 0x100$
        +-o IOHIDUserClient  <class IOHIDUserClient, id 0x1000003b9, !registere$
        +-o IOHIDParamUserClient  <class IOHIDParamUserClient, id 0x1000003ba, $
        +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id 0$
        +-o IOHIDEventSystemUserClient  <class IOHIDEventSystemUserClient, id 0$

Original comment by danielBr...@gmail.com on 27 Mar 2012 at 11:50

Attachments:

@GoogleCodeExporter
Copy link
Author

You should make as Migthy Mouse developer. It detects right if I use batteries 
in my mouse, and if I use NiMH accumullators it detects wrong charge.

Original comment by ad...@ubar.su on 14 Apr 2012 at 8:04

@GoogleCodeExporter
Copy link
Author

Does osx report it correctly with the NiHM battery?

Original comment by jo...@vandalon.nl on 14 Apr 2012 at 3:33

@GoogleCodeExporter
Copy link
Author

ioreg reports: 
  |   "BatteryPercent" = 63

I'm not sure who is right here :)

Original comment by wiebel@gmail.com on 19 Apr 2012 at 12:31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant