by FamiHug
Khi chạy Ubuntu trên laptop, mọi thông tin về pin của bạn được lưu trong /proc/acpi/battery/
để xem được, bạn có thể mở các file trong thư mục nói trên hoặc dùng terminal gõ lần lượt 2 dòng lệnh sau:
cat /proc/acpi/battery/BAT0/info
cat /proc/acpi/battery/BAT0/state
và đây là kết quả trả về của em lap tớ đang ôm :D
famihug@familug:~$ cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 4400 mAh -> lúc sản xuất
last full capacity: 3909 mAh -> hiện tại => chai mất 12% :D
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 195 mAh
design capacity low: 117 mAh
cycle count: 0
capacity granularity 1: 264 mAh
capacity granularity 2: 3780 mAh
model number: Primary
serial number:
battery type: Lion
OEM info: Hewlett-Packard
famihug@familug:~$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charging
present rate: 0 mA
remaining capacity: 2808 mAh
present voltage: 12191 mV
ku nào dùng lap thì post kết quả xuống phần cm nhé!
ước gì mềnh có cái Laptop :((
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteko hiểu mày hỏi cái j @@ ko liên quan đến bài thi cm ra chatbox
ReplyDeleteeminter25391@eminter25391-Aspire-5740:~$ cat /proc/acpi/battery/BAT0/info
ReplyDeletepresent: yes
design capacity: 4400 mAh
last full capacity: 3562 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 175 mAh
design capacity low: 122 mAh
cycle count: 0
capacity granularity 1: 53 mAh
capacity granularity 2: 3387 mAh
model number: AS07A31
serial number: 14290
battery type: LION
OEM info: SANYO
eminter25391@eminter25391-Aspire-5740:~$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 3562 mAh
present voltage: 12218 mV
yoyolove@yoyolove-PC:~$ cat /proc/acpi/battery/BAT0/info
ReplyDeletepresent: yes
design capacity: 4400 mAh
last full capacity: 10800 mAh
battery technology: rechargeable
design voltage: 10800 mV
design capacity warning: 540 mAh
design capacity low: 378 mAh
cycle count: 0
capacity granularity 1: 162 mAh
capacity granularity 2: 10260 mAh
model number: VE06047
serial number: 618
battery type: LION
OEM info: STL-SO22
clgt homie @@
ReplyDeletedesign capacity: 4400 mAh
last full capacity: 10800 mAh???
tớ cũng thấy lạ =)) test mãi rồi vẫn thế
ReplyDeleteHay là gắn thêm pin ngoài nó thế
ReplyDeletemỗi máy với pin đấy chứ @@
ReplyDeletevote cho pin tàu hớ hớ
ReplyDeletehack khủng à nha =))
ReplyDeletethấy máy tớ vô lý chưa =))
ReplyDeletechung@chung-NV54-Series:~$ cat /proc/acpi/battery/BAT0/info
ReplyDeletepresent: yes
design capacity: 4400 mAh
last full capacity: 1320 mAh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 65 mAh
design capacity low: 45 mAh
cycle count: 0
capacity granularity 1: 20 mAh
capacity granularity 2: 1255 mAh
model number: AS09A41
serial number: 1387
battery type: LION
OEM info: SONYCorp
chung@chung-NV54-Series:~$ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 1320 mAh
present voltage: 12305 mV
đúng là lên voi xuống chó !
thay pin thôi :))
Delete