ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Dashboard is unble to check the laptop battey state

asked 2012-07-15 21:06:36 -0500

MBN gravatar image

updated 2014-01-28 17:13:01 -0500

ngrennan gravatar image

hi, im using turtlebot, when i run the dashboard i get this error: [WARN] [WallTime: 1342422151.301084] Unable to check laptop battery state. Exception: Value 12265 mW did not have "A" or "mA" . I'm using asus laptop. can u please help me out..

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-07-16 17:18:25 -0500

Hi,

The Turtlebot dashboard displays battery info by parsing the contents of two files...

1) /proc/acpi/battery/BAT0/info

On my laptop, the contents of that file are... (note values may vary)

present: yes design capacity: 4400 mAh last full capacity: 4370 mAh battery technology: rechargeable design voltage: 11100 mV design capacity warning: 215 mAh design capacity low: 150 mAh cycle count: 0 capacity granularity 1: 65 mAh capacity granularity 2: 4155 mAh model number: AS09A41 serial number: 2477 battery type: LION OEM info: SONY Corp

2) /proc/acpi/battery/BAT0/state

present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 4370 mAh present voltage: 12493 mV

If either of these files do not exist, or your battery reports charge in a different way, you will run into issues (until this is fixed). You should check out this answer and see if it applies to you:

http://answers.ros.org/question/30631/turtlebot-unable-to-check-laptop-batterybat0state/

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-07-15 21:06:36 -0500

Seen: 554 times

Last updated: Jul 16 '12