Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
Sony NWZ-A10: Battery indicator / adjust Battery
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Sony NWZ-A10: Battery indicator / adjust Battery (Read 3967 times)
Viper73
Member
Posts: 29
Sony NWZ-A10: Battery indicator / adjust Battery
«
on:
April 07, 2018, 03:13:50 AM »
Hello,
i have the Linux port with the "Sony NWZ-A10" running. In this port the Battery indicator is not set properly. It counts from 100% to 45% and then the player stopps working because of an empty battery. So it shows 45% but the battery is at maybe 5%.
Is it possible to adjust the battery indicator so it shows the correct battery level? It ist very annoying because you never know exactly if the battery is nearly empte or half full...
Greets, Viper
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #1 on:
April 08, 2018, 02:04:12 PM »
The battery charge is indicated by the underlying kernel on that player. It is possible that the values it returns are not scaled correctly. If you go into the debug screen, does it report reasonable voltages for the battery (e.g. about 4.2 for full, 3 for empty)?
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #2 on:
April 08, 2018, 04:56:59 PM »
This is what i found in the debug mode.
Does this show anything which can help you to help me?
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #3 on:
April 08, 2018, 05:51:54 PM »
The kernel says that the battery is fully charged and the voltage meter agrees, so it doesn't show any problem. Is that right?
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #4 on:
April 15, 2018, 07:53:49 AM »
Yes, this was right at the time when i made the screenshot.
Do i have to make another screenshot when the battery is nearly empty?
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #5 on:
April 17, 2018, 11:41:00 AM »
Here are screenshots when the battery is close to empty.
Is there anything i can do to change the battery indicator/adjust the battery?
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #6 on:
April 17, 2018, 02:56:10 PM »
The kernel says the battery is low and the voltage reading agrees. What percentage does the UI say the battery is?
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #7 on:
April 17, 2018, 03:21:19 PM »
At this pictures it says something around 32 or 34%.
But just 5 minutes later the player shuts down because of an empty battery.
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #8 on:
April 17, 2018, 07:32:30 PM »
That is also consistent with the battery calibration for that player, which must be wrong.
If you run the battery bench plugin on your player, I can fix the curve using the data it records:
https://www.rockbox.org/wiki/PluginBatteryBenchmark
Can you charge the player to 100%, plug in headphones, run the battery bench plugin, and set it to play an album of mp3s on repeat? Once the battery is dead, plug it back in and there should be a battery log in /battery_bench.txt which I need to fix it.
Logged
pamaury
Developer
Member
Posts: 508
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #9 on:
April 18, 2018, 11:54:51 AM »
Hi,
just saw this post, I should have noticed it earlier. I did not calibrate any of the battery curves on the Sony's at the moment which probably explains the problem.
If you can indeed run the battery bench it would be great, otherwise I'll try to find some time to run it on all my Sony players. I will also check the Sony kernel source, it is possible that they changed the kernel interface between models and makes the battery voltage on the A10 completely wrong.
Another option in the mean time would be to use the battery "gauge" returned by the kernel. It is (supposed to be) properly scaled already but only contains 5 levels, essentially give 0%, 20%, 40% and so on.
«
Last Edit: April 18, 2018, 11:57:42 AM by pamaury
»
Logged
Please don't PM me, use our IRC channel instead.
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #10 on:
April 20, 2018, 10:59:45 AM »
Here is my battery benchmark from full loaded to absolutely empty.
Please rename the "battery_bench.pdf" to "battery_bench.zip" so you can unpack it (zip are not working to upload here, and the txt was too big)
In the beginning it runs very long with an battery level of 60-100%
When the battery reaches about 45% you can see that it drops to zero very very fast.
Would be great it you can can calibrate the battery level so it has an constant battery % level.
If you need any more information please let me know.
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #11 on:
April 20, 2018, 03:55:46 PM »
I committed that calibration in 56803c8. Please update to the current build and double check that the battery meter is more accurate now.
----
Using grep it looks like the curve in there was from the YPR, which has a strange battery calibration. MIght be better to just set the calibration of new devices to always read 100% until a real curve is available. More obvious that it is a placeholder value.
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #12 on:
April 20, 2018, 04:36:56 PM »
Oh, this was fast, thank you.
I installed the new update and will let you know if the battery meter is more accurate now.
Another question, this player has no really "power off" button (which is a really bad thing). But the manual says that the player will shut down automatically from standby after a few minutes. But this ist far too long i think, after 20 minutes the player is still in standby and eats my battery. Is it possible to change this time for the automatic (complete) shutdown from standby to maybe 10 minutes? Or is this what the kernel manages and is not possible to change?
Logged
saratoga
Developer
Member
Posts: 9308
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #13 on:
April 20, 2018, 04:41:16 PM »
Yes the idle poweroff setting in the menu can be set to a shorter value, however I think the default is only 1 or 2 minutes. If it doesn't shut down after 20 minutes, my question would be if it ever shuts down?
Logged
Viper73
Member
Posts: 29
Re: Sony NWZ-A10: Battery indicator / adjust Battery
«
Reply #14 on:
April 20, 2018, 05:27:23 PM »
Do you mean the "on/off" settings in rockbox settings? This settings are working, after this time (5 minutes for example) the player shuts down to the "select player" menu. When the player is set to "hold" the player is going to the standby mode after 5 seconds. (If the player is not in "hold" mode the player restarts after 10 seconds to rockbox).
But the player does not power off completely. Even not afer one night in standby. Maybe sometime later, but this is far too long.
I want to set the time when the player is in the "select player" menu. Here i want to set the time to 5 minutes (or less) for the complete power-off (so the player is completely off and needs to reload the bibliothek when i restart the player). Can this be changed, too?
«
Last Edit: April 21, 2018, 01:33:42 AM by Viper73
»
Logged
Print
Pages: [
1
]
2
« previous
next »
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
Sony NWZ-A10: Battery indicator / adjust Battery
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.063 seconds with 22 queries.